public function it_creates_a_new_content_route(Route $route, EventDispatcherInterface $eventDispatcher, RouteInterface $parent)
 {
     $route->getType()->willReturn(RouteInterface::TYPE_CONTENT);
     $route->getName()->willReturn('test-name');
     $route->getTemplateName()->willReturn('index.html.twig');
     $route->getParent()->willReturn($parent);
     $eventDispatcher->dispatch(RouteEvents::PRE_CREATE, Argument::type(RouteEvent::class))->shouldBeCalled();
     $route->setVariablePattern(null)->shouldBeCalled();
     $route->setRequirements([])->shouldBeCalled();
     $route->setStaticPrefix('/test-name')->shouldBeCalled();
     $eventDispatcher->dispatch(RouteEvents::POST_CREATE, Argument::type(RouteEvent::class))->shouldBeCalled();
     $this->createRoute($route)->shouldReturn($route);
 }