Neos\Flow\Tests\Functional\Mvc\RoutingTest::setUp PHP Method

setUp() public method

Validate that test routes are loaded
public setUp ( )
    public function setUp()
    {
        parent::setUp();
        $foundRoute = false;
        /** @var $route Route */
        foreach ($this->router->getRoutes() as $route) {
            if ($route->getName() === 'Flow :: Functional Test: HTTP - FooController') {
                $foundRoute = true;
                break;
            }
        }
        if (!$foundRoute) {
            $this->markTestSkipped('In this distribution the Flow routes are not included into the global configuration.');
            return;
        }
    }