PhlyTest\Http\UriTest::testPathIsProperlyEncoded PHP Method

testPathIsProperlyEncoded() public method

    public function testPathIsProperlyEncoded()
    {
        $uri = (new Uri())->withPath('/foo^bar');
        $expected = '/foo%5Ebar';
        $this->assertEquals($expected, $uri->getPath());
    }
UriTest