常用方法
常用方法
常用方法
常用方法
public function testHasExceptionOfCode() { $this->assertFalse($this->_response->hasExceptionOfCode(200)); $this->_response->setException(new Zend_Controller_Response_Exception('FooBar', 200)); $this->assertTrue($this->_response->hasExceptionOfCode(200)); }