PhlyTest\Http\ServerRequestFactoryTest::testMarshalRequestUriStripsSchemeHostAndPortInformationWhenPresent PHP 메소드

testMarshalRequestUriStripsSchemeHostAndPortInformationWhenPresent() 공개 메소드

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