public function testGetException() { $e = new Exception('Test'); $this->_response->setException($e); $test = $this->_response->getException(); $found = false; foreach ($test as $t) { if ($t === $e) { $found = true; } } $this->assertTrue($found); }
public function testGetException() { $e = new Exception('Test'); $this->_response->setException($e); $test = $this->_response->getException(); $found = false; foreach ($test as $t) { if ($t === $e) { $found = true; } } $this->assertTrue($found); }