ApiPlatform\Core\Tests\Bridge\Symfony\Bundle\DependencyInjection\ApiPlatformExtensionTest::testPrependWhenNotEnabled PHP Méthode

testPrependWhenNotEnabled() public méthode

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