public function testStringRepresentationOfAbsoluteUriWithNoPathSetsAnEmptyPath() { $uri = new Uri('http://example.com'); $this->assertEquals('http://example.com', (string) $uri); }