public function testConstructorException() { $this->setExpectedException('PHPUnit_Framework_Error_Warning'); $feed = new Feed\Reader(new Feed\Format\Rss('http://blahblahblah/', 4)); }