PhlyTest\Http\UriTest::testStripsQueryPrefixIfPresent PHP Метод

testStripsQueryPrefixIfPresent() публичный Метод

    public function testStripsQueryPrefixIfPresent()
    {
        $uri = new Uri('http://example.com');
        $new = $uri->withQuery('?foo=bar');
        $this->assertEquals('foo=bar', $new->getQuery());
    }
UriTest