public getException ( ) : Exceptio\Exception | null | ||
return | Exceptio\Exception | null |
public function getException()
{
return $this->exception;
}
public function test_result_can_have_exception() { $r = new Result(); $r->setException(new Exception()); $this->assertInstanceOf('\\Exception', $r->getException()); }