public function testHasExceptionOfMessage() { $this->assertFalse($this->_response->hasExceptionOfMessage('FooBar')); $this->_response->setException(new Zend_Controller_Response_Exception('FooBar')); $this->assertTrue($this->_response->hasExceptionOfMessage('FooBar')); }