PhlyTest\Http\ServerRequestFactoryTest::testMarshalRequestUriStripsSchemeHostAndPortInformationWhenPresent PHP Method

testMarshalRequestUriStripsSchemeHostAndPortInformationWhenPresent() public method

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