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