Conditions | 1 |
Paths | 1 |
Total Lines | 16 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
16 | public function build() |
||
17 | { |
||
18 | $container = $this |
||
19 | ->getMockBuilder('Symfony\Component\DependencyInjection\ContainerBuilder') |
||
20 | ->setMethods(['addCompilerPass']) |
||
21 | ->getMock() |
||
22 | ; |
||
23 | $container |
||
24 | ->expects($this->once()) |
||
25 | ->method('addCompilerPass') |
||
26 | ->with($this->isInstanceOf('Doctrine\Bundle\DoctrineBundle\DependencyInjection\Compiler\DoctrineOrmMappingsPass')) |
||
27 | ; |
||
28 | |||
29 | $bundle = new ZenstruckRedirectBundle(); |
||
30 | $bundle->build($container); |
||
31 | } |
||
32 | } |
||
33 |