PhlyTest\Http\UriTest::testMutatingSchemeStripsOffDelimiter PHP Method

testMutatingSchemeStripsOffDelimiter() public method

    public function testMutatingSchemeStripsOffDelimiter()
    {
        $uri = new Uri('http://example.com');
        $new = $uri->withScheme('https://');
        $this->assertEquals('https', $new->getScheme());
    }
UriTest