public function testEnableFosUser()
{
$containerBuilderProphecy = $this->getContainerBuilderProphecy();
$containerBuilderProphecy->getParameter('kernel.bundles')->willReturn(['DoctrineBundle' => DoctrineBundle::class, 'FOSUserBundle' => FOSUserBundle::class])->shouldBeCalled();
$containerBuilderProphecy->setDefinition('api_platform.fos_user.event_listener', Argument::type(Definition::class))->shouldBeCalled();
$containerBuilder = $containerBuilderProphecy->reveal();
$this->extension->load(array_merge_recursive(self::DEFAULT_CONFIG, ['api_platform' => ['enable_fos_user' => true]]), $containerBuilder);
}