PhlyTest\Http\UriTest::testStringRepresentationOfOriginFormWithNoPathRetainsEmptyPath PHP Method

testStringRepresentationOfOriginFormWithNoPathRetainsEmptyPath() public method

    public function testStringRepresentationOfOriginFormWithNoPathRetainsEmptyPath()
    {
        $uri = new Uri('?foo=bar');
        $this->assertEquals('?foo=bar', (string) $uri);
    }
UriTest