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

dynamicRoutePartDoesNotMatchIfRequestPathIsNullOrEmpty() public method

    public function dynamicRoutePartDoesNotMatchIfRequestPathIsNullOrEmpty()
    {
        $this->dynamicRoutPart->setName('foo');
        $routePath = null;
        $this->assertFalse($this->dynamicRoutPart->match($routePath), 'Dynamic Route Part should not match if $routePath is NULL.');
        $routePath = '';
        $this->assertFalse($this->dynamicRoutPart->match($routePath), 'Dynamic Route Part should not match if $routePath is empty.');
    }
DynamicRoutePartTest