public function getResponseHeaderThrowsExceptionIfHeaderNotFound() { $this->setExpectedException('Exception', "Header 'DoesNotExist' not found."); $curl = $this->getCurlObject(); $curl->getResponseHeader('DoesNotExist'); }