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

testPrependWhenNotConfigured() public method

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