public function testDoNotRunCurrentRequest(Request $request)
{
$resourceNameCollectionFactoryProphecy = $this->prophesize(ResourceNameCollectionFactoryInterface::class);
$resourceNameCollectionFactoryProphecy->create()->willReturn(new ResourceNameCollection(['Foo', 'Bar']))->shouldBeCalled();
$resourceMetadataFactoryProphecy = $this->prophesize(ResourceMetadataFactoryInterface::class);
$serializerProphecy = $this->prophesize(SerializerInterface::class);
$serializerProphecy->serialize(Argument::type(Documentation::class), 'json')->willReturn('hello')->shouldBeCalled();
$twigProphecy = $this->prophesize(\Twig_Environment::class);
$twigProphecy->render('ApiPlatformBundle:SwaggerUi:index.html.twig', ['spec' => 'hello', 'shortName' => null, 'operationId' => null, 'title' => '', 'description' => '', 'formats' => []])->shouldBeCalled();
$action = new SwaggerUiAction($resourceNameCollectionFactoryProphecy->reveal(), $resourceMetadataFactoryProphecy->reveal(), $serializerProphecy->reveal(), $twigProphecy->reveal());
$action($request);
}