public function testAllowsForRelativeUri() { $uri = (new Uri())->withPath('foo'); $this->assertSame('foo', $uri->getPath()); $this->assertSame('foo', (string) $uri); }