PhlyTest\Http\ServerRequestFactoryTest::testMarshalRequestUriStripsSchemeHostAndPortInformationWhenPresent PHP Méthode

testMarshalRequestUriStripsSchemeHostAndPortInformationWhenPresent() public méthode

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