You are here

function CallSpec::it_exposes_exception_through_getter in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/phpspec/prophecy/spec/Prophecy/Call/CallSpec.php \spec\Prophecy\Call\CallSpec::it_exposes_exception_through_getter()

File

vendor/phpspec/prophecy/spec/Prophecy/Call/CallSpec.php, line 32

Class

CallSpec

Namespace

spec\Prophecy\Call

Code

function it_exposes_exception_through_getter($exception) {
  $this
    ->getException()
    ->shouldReturn($exception);
}