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

valueIsUrlDecodedAfterSuccessfulMatch() public method

    public function valueIsUrlDecodedAfterSuccessfulMatch()
    {
        $this->dynamicRoutPart->setName('foo');
        $this->dynamicRoutPart->setDefaultValue('bar');
        $this->dynamicRoutPart->setSplitString('/');
        $routePath = 'some%20%5c%20special%20%c3%b6%c3%a4%c3%bc%c3%9f/secondSegment';
        $this->dynamicRoutPart->match($routePath);
        $this->assertEquals('some \\ special öäüß', $this->dynamicRoutPart->getValue(), 'value of Dynamic Route Part should be equal to first request path segment after successful match.');
    }
DynamicRoutePartTest