public function testHasExceptionOfType() { $this->assertFalse($this->_response->hasExceptionOfType('Zend_Controller_Response_Exception')); $this->_response->setException(new Zend_Controller_Response_Exception()); $this->assertTrue($this->_response->hasExceptionOfType('Zend_Controller_Response_Exception')); }