Neos\Flow\Tests\Unit\Http\UriTest::constructorParsesArgumentsWithSpecialCharactersCorrectly PHP Method

constructorParsesArgumentsWithSpecialCharactersCorrectly() public method

    public function constructorParsesArgumentsWithSpecialCharactersCorrectly()
    {
        $uriString = 'http://www.neos.io/path1/?argumentäöü1=' . urlencode('valueåø€œ');
        $uri = new Uri($uriString);
        $check = $uri->getScheme() == 'http' && $uri->getHost() == 'www.neos.io' && $uri->getPath() == '/path1/' && $uri->getQuery() == 'argumentäöü1=value%C3%A5%C3%B8%E2%82%AC%C5%93' && $uri->getArguments() == ['argumentäöü1' => 'valueåø€œ'];
        $this->assertTrue($check, 'The URI with special arguments has not been correctly transformed to an URI object');
    }