PhlyTest\Http\UriTest::testQueryIsProperlyEncoded PHP Method

testQueryIsProperlyEncoded() public method

public testQueryIsProperlyEncoded ( $query, $expected )
    public function testQueryIsProperlyEncoded($query, $expected)
    {
        $uri = (new Uri())->withQuery($query);
        $this->assertEquals($expected, $uri->getQuery());
    }
UriTest