コード例 #1
0
ファイル: HttpTest.php プロジェクト: lortnus/zf1
 public function testHasExceptionOfMessage()
 {
     $this->assertFalse($this->_response->hasExceptionOfMessage('FooBar'));
     $this->_response->setException(new Zend_Controller_Response_Exception('FooBar'));
     $this->assertTrue($this->_response->hasExceptionOfMessage('FooBar'));
 }