Conditions | 1 |
Paths | 1 |
Total Lines | 10 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
26 | public function testGetHandlerThrowsExceptionForNotFound() |
||
27 | { |
||
28 | $this->expectException(MissingHandlerException::class); |
||
29 | |||
30 | $locator = new ContainerBasedHandlerLocator(new ContainerBuilder(), [ |
||
31 | 'OtherCommand' => 'my_bundle.order.id' |
||
32 | ]); |
||
33 | |||
34 | $locator->getHandlerForCommand('MyFakeCommand'); |
||
35 | } |
||
36 | |||
38 |