Neos\Flow\Tests\Unit\Mvc\Routing\RouteTest::routeDoesNotMatchIfRequestPathIsDifferentFromStaticUriPattern PHP Méthode

routeDoesNotMatchIfRequestPathIsDifferentFromStaticUriPattern() public méthode

    public function routeDoesNotMatchIfRequestPathIsDifferentFromStaticUriPattern()
    {
        $this->route->setUriPattern('foo/bar');
        $this->assertFalse($this->routeMatchesPath('bar/foo'), '"foo/bar"-Route should not match "bar/foo"-request.');
    }
RouteTest