PhlyTest\Http\UriTest::testWithQueryRaisesExceptionForInvalidQueryStrings PHP Method

testWithQueryRaisesExceptionForInvalidQueryStrings() public method

    public function testWithQueryRaisesExceptionForInvalidQueryStrings($query)
    {
        $uri = new Uri('https://user:[email protected]:3001/foo?bar=baz#quz');
        $this->setExpectedException('InvalidArgumentException', 'Query string');
        $new = $uri->withQuery($query);
    }
UriTest