public function testMarshalRequestUriStripsSchemeHostAndPortInformationWhenPresent() { $server = ['REQUEST_URI' => 'http://example.com:8000/foo/bar']; $this->assertEquals('/foo/bar', ServerRequestFactory::marshalRequestUri($server)); }