build() public method

public build ( ContainerBuilder $container )
$container Symfony\Component\DependencyInjection\ContainerBuilder
 public function testBuild()
 {
     $containerProphecy = $this->prophesize(ContainerBuilder::class);
     $containerProphecy->addCompilerPass(Argument::type(DataProviderPass::class))->shouldBeCalled();
     $containerProphecy->addCompilerPass(Argument::type(FilterPass::class))->shouldBeCalled();
     $containerProphecy->addCompilerPass(Argument::type(DoctrineQueryExtensionPass::class))->shouldBeCalled();
     $bundle = new ApiPlatformBundle();
     $bundle->build($containerProphecy->reveal());
 }