| Conditions | 1 |
| Paths | 1 |
| Total Lines | 11 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 19 | public function testConsoleListenerConfiguration(): void |
||
| 20 | { |
||
| 21 | $config = ConfigFactory::create(new ConfigPaths(dirname(__DIR__, 2), 'config'), null); |
||
| 22 | |||
| 23 | $containerConfig = ContainerConfig::create() |
||
| 24 | ->withDefinitions($config->get('console')); |
||
| 25 | $container = (new Container($containerConfig))->get(ContainerInterface::class); |
||
| 26 | $checker = $container->get(ListenerConfigurationChecker::class); |
||
| 27 | $checker->check($config->get('events-console')); |
||
| 28 | |||
| 29 | self::assertInstanceOf(ListenerConfigurationChecker::class, $checker); |
||
| 30 | } |
||
| 32 |