| Conditions | 1 |
| Paths | 1 |
| Total Lines | 14 |
| Code Lines | 10 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 18 | public function testCompilerPassesAreRegistered() |
||
| 19 | { |
||
| 20 | $container = $this |
||
| 21 | ->getMockBuilder('Symfony\Component\DependencyInjection\ContainerBuilder') |
||
| 22 | ->getMock(); |
||
| 23 | |||
| 24 | $container |
||
| 25 | ->expects($this->atLeastOnce()) |
||
| 26 | ->method('addCompilerPass') |
||
| 27 | ->with($this->isInstanceOf('Symfony\\Component\\DependencyInjection\\Compiler\\CompilerPassInterface')); |
||
| 28 | |||
| 29 | $bundle = new FOSElasticaBundle(); |
||
| 30 | $bundle->build($container); |
||
| 31 | } |
||
| 32 | } |
||
| 33 |