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

dynamicRouteDoesNotMatchRequestPathWithMoreThanOneSegmentIfSplitStringIsNotFound() public method

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