예제 #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'));
 }