| Conditions | 1 |
| Paths | 1 |
| Total Lines | 16 |
| Code Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php declare(strict_types=1); |
||
| 12 | public function testFalse(): void |
||
| 13 | { |
||
| 14 | $this->assertFalse( |
||
| 15 | MethodInvoker::callMethodOnObject($this->elementResolver, 'isContextUsable', [null]) |
||
| 16 | ); |
||
| 17 | |||
| 18 | $reflectionConstantMock = $this->createMock(ConstantReflectionInterface::class); |
||
| 19 | $this->assertFalse( |
||
| 20 | MethodInvoker::callMethodOnObject($this->elementResolver, 'isContextUsable', [$reflectionConstantMock]) |
||
| 21 | ); |
||
| 22 | |||
| 23 | $reflectionFunctionMock = $this->createMock(FunctionReflectionInterface::class); |
||
| 24 | $this->assertFalse( |
||
| 25 | MethodInvoker::callMethodOnObject($this->elementResolver, 'isContextUsable', [$reflectionFunctionMock]) |
||
| 26 | ); |
||
| 27 | } |
||
| 28 | |||
| 37 |