| 1 | <?php |
||
| 9 | class LAGAdminBundleTest extends AdminTestBase |
||
| 10 | { |
||
| 11 | public function testBuild() |
||
| 12 | { |
||
| 13 | $container = $this->getMockWithoutConstructor(ContainerBuilder::class); |
||
| 14 | $container |
||
| 15 | ->expects($this->exactly(3)) |
||
| 16 | ->method('addCompilerPass') |
||
| 17 | ->willReturnMap([ |
||
| 18 | [new ResourceCompilerPass()], |
||
| 19 | ]) |
||
| 20 | ; |
||
| 21 | |||
| 22 | $bundle = new LAGAdminBundle(); |
||
| 23 | $bundle->build($container); |
||
| 24 | } |
||
| 25 | } |
||
| 26 |