()
| 330 | |
| 331 | #[test] |
| 332 | fn context_static_call() { |
| 333 | let content = "<?php\nCache::get("; |
| 334 | let pos = Position { |
| 335 | line: 1, |
| 336 | character: 11, |
| 337 | }; |
| 338 | let ctx = detect_named_arg_context(content, pos); |
| 339 | assert!(ctx.is_some()); |
| 340 | assert_eq!(ctx.unwrap().call_expression, "Cache::get"); |
| 341 | } |
| 342 | |
| 343 | #[test] |
| 344 | fn context_constructor() { |
nothing calls this directly
no test coverage detected