ApiPlatform\Core\Tests\Bridge\Symfony\Bundle\DependencyInjection\ApiPlatformExtensionTest::testNotPrependWhenNull PHP Method

testNotPrependWhenNull() public method

    public function testNotPrependWhenNull()
    {
        $containerBuilderProphecy = $this->prophesize(ContainerBuilder::class);
        $containerBuilderProphecy->getExtensionConfig('framework')->willReturn(null)->shouldBeCalled();
        $containerBuilderProphecy->prependExtensionConfig('framework', Argument::type('array'))->shouldNotBeCalled();
        $containerBuilder = $containerBuilderProphecy->reveal();
        $this->extension->prepend($containerBuilder);
    }