public function testConstructorRaisesExceptionForSeriouslyMalformedURI() { $this->setExpectedException('InvalidArgumentException'); new Uri('http:///www.php-fig.org/'); }