| Conditions | 1 |
| Paths | 1 |
| Total Lines | 14 |
| Code Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 15 | public function testConsoleListenerConfiguration(): void |
||
| 16 | { |
||
| 17 | $runner = new ConsoleApplicationRunner( |
||
| 18 | rootPath: dirname(__DIR__, 2), |
||
| 19 | debug: false, |
||
| 20 | checkEvents: false, |
||
| 21 | ); |
||
| 22 | $config = $runner->getConfig(); |
||
| 23 | $container = $runner->getContainer(); |
||
| 24 | |||
| 25 | $checker = $container->get(ListenerConfigurationChecker::class); |
||
| 26 | $checker->check($config->get('events-console')); |
||
| 27 | |||
| 28 | self::assertInstanceOf(ListenerConfigurationChecker::class, $checker); |
||
| 29 | } |
||
| 31 |