/** * @covers Debril\RssAtomBundle\Driver\HttpCurlDriver::getResponse * @expectedException \Debril\RssAtomBundle\Exception\DriverUnreachableResourceException */ public function testGetResponseException() { $date = \DateTime::createFromFormat('j-M-Y', '10-Feb-2002'); $this->object->getResponse('http://idonotexist', $date); }