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