Conditions | 1 |
Paths | 1 |
Total Lines | 8 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Changes | 2 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
24 | public function getContainerMustRaiseExceptionWhenContainerNotConfigured() |
||
25 | { |
||
26 | $command = $this->getMockForAbstractClass(ContainerAwareCommand::class, ['commandName']); |
||
27 | |||
28 | $getContainerReflectionMethod = new \ReflectionMethod($command, 'getContainer'); |
||
29 | $getContainerReflectionMethod->setAccessible(true); |
||
30 | $getContainerReflectionMethod->invoke($command); |
||
31 | } |
||
32 | |||
50 |