Neos\Flow\Tests\Unit\Mvc\Routing\DynamicRoutePartTest::dynamicRouteDoesNotMatchRequestPathWithMoreThanOneSegmentIfSplitStringIsNotSet PHP Méthode

dynamicRouteDoesNotMatchRequestPathWithMoreThanOneSegmentIfSplitStringIsNotSet() public méthode

    public function dynamicRouteDoesNotMatchRequestPathWithMoreThanOneSegmentIfSplitStringIsNotSet()
    {
        $this->dynamicRoutPart->setName('foo');
        $routePath = 'foo/bar';
        $this->assertFalse($this->dynamicRoutPart->match($routePath), 'Dynamic Route Part should not match if request Path has more than one segment and no split string is set.');
    }
DynamicRoutePartTest