| Conditions | 1 |
| Paths | 1 |
| Total Lines | 12 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 1 | Features | 0 |
| 1 | <?php |
||
| 24 | public function testBuildAddCompilerPass() |
||
| 25 | { |
||
| 26 | $container = $this->getMock(ContainerBuilder::class); |
||
| 27 | $container |
||
| 28 | ->expects($this->once()) |
||
| 29 | ->method('addCompilerPass') |
||
| 30 | ->with($this->isInstanceOf(DataProviderCompilerPass::class)) |
||
| 31 | ; |
||
| 32 | |||
| 33 | $bundle = new ElasticsearchDataProviderBundle(); |
||
| 34 | $bundle->build($container); |
||
| 35 | } |
||
| 36 | } |
||
| 37 |