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

dynamicRouteMatchesRequestPathWithOnlyOneSegmentIfSplitStringIsNotSet() public method

    public function dynamicRouteMatchesRequestPathWithOnlyOneSegmentIfSplitStringIsNotSet()
    {
        $this->dynamicRoutPart->setName('foo');
        $routePath = 'bar';
        $this->assertTrue($this->dynamicRoutPart->match($routePath));
        $this->assertEquals('bar', $this->dynamicRoutPart->getValue(), 'Dynamic Route Part should match if request Path has only one segment and no split string is set.');
    }
DynamicRoutePartTest