PhlyTest\Http\UriTest::testConstructWithUnsupportedSchemeRaisesAnException PHP Method

testConstructWithUnsupportedSchemeRaisesAnException() public method

    public function testConstructWithUnsupportedSchemeRaisesAnException($scheme)
    {
        $this->setExpectedException('InvalidArgumentException', 'Unsupported scheme');
        $uri = new Uri($scheme . '://example.com');
    }
UriTest