Conditions | 1 |
Paths | 1 |
Total Lines | 9 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
19 | public function test_throw_exception_when_no_loaders() |
||
20 | { |
||
21 | $this->expectException(\RuntimeException::class); |
||
22 | $this->expectExceptionMessage('You must tag at least one service as "bdf_prime.connection_factory" to use the "'.ChainFactory::class.'" service'); |
||
23 | $container = new ContainerBuilder(); |
||
24 | $container->register(ChainFactory::class); |
||
25 | |||
26 | $serializerPass = new PrimeConnectionFactoryPass(); |
||
27 | $serializerPass->process($container); |
||
28 | } |
||
53 | } |