示例#1
0
文件: HttpTest.php 项目: lortnus/zf1
 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'));
 }