Exemplo n.º 1
0
 public function case_get_previous_throw()
 {
     $this->given($previous = new SUT('previous'), $exception = new SUT('foo', 0, [], $previous))->when($result = $exception->getPreviousThrow())->then->object($result)->isIdenticalTo($previous);
 }