| Conditions | 1 |
| Paths | 1 |
| Total Lines | 17 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 24 | public function testBuild(): void |
||
| 25 | { |
||
| 26 | $containerBuilder = $this->createMock(ContainerBuilder::class); |
||
| 27 | |||
| 28 | $containerBuilder |
||
| 29 | ->expects($this->at(0)) |
||
| 30 | ->method('addCompilerPass') |
||
| 31 | ->with($this->isInstanceOf(AddGuesserCompilerPass::class)); |
||
| 32 | |||
| 33 | $containerBuilder |
||
| 34 | ->expects($this->at(1)) |
||
| 35 | ->method('addCompilerPass') |
||
| 36 | ->with($this->isInstanceOf(AddTemplatesCompilerPass::class)); |
||
| 37 | |||
| 38 | $bundle = new SonataDoctrineMongoDBAdminBundle(); |
||
| 39 | $bundle->build($containerBuilder); |
||
| 40 | } |
||
| 41 | } |
||
| 42 |