()
| 318 | |
| 319 | #[test] |
| 320 | fn context_method_call() { |
| 321 | let content = "<?php\n$this->method("; |
| 322 | let pos = Position { |
| 323 | line: 1, |
| 324 | character: 16, |
| 325 | }; |
| 326 | let ctx = detect_named_arg_context(content, pos); |
| 327 | assert!(ctx.is_some()); |
| 328 | assert_eq!(ctx.unwrap().call_expression, "$this->method"); |
| 329 | } |
| 330 | |
| 331 | #[test] |
| 332 | fn context_static_call() { |
nothing calls this directly
no test coverage detected