public function testEmptyPathOnOriginFormRemainsAnEmptyPath() { $uri = new Uri('?foo=bar'); $this->assertEquals('', $uri->getPath()); }
public function testEmptyPathOnOriginFormIsEquivalentToRootPath() { $uri = new Uri('?foo=bar'); $this->assertEquals('/', $uri->getPath()); }