PhlyTest\Http\UriTest::testStripsFragmentPrefixIfPresent PHP Method

testStripsFragmentPrefixIfPresent() public method

    public function testStripsFragmentPrefixIfPresent()
    {
        $uri = new Uri('http://example.com');
        $new = $uri->withFragment('#/foo/bar');
        $this->assertEquals('/foo/bar', $new->getFragment());
    }
UriTest