Neos\Flow\Tests\Unit\Mvc\Routing\DynamicRoutePartTest::dynamicRouteDoesNotMatchRequestPathWithMoreThanOneSegmentIfSplitStringIsNotSet PHP Method

dynamicRouteDoesNotMatchRequestPathWithMoreThanOneSegmentIfSplitStringIsNotSet() public method

    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