You are here

function UnexpectedCallsExceptionSpec::it_should_expose_calls_list_through_getter in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/phpspec/prophecy/spec/Prophecy/Exception/Prediction/UnexpectedCallsExceptionSpec.php \spec\Prophecy\Exception\Prediction\UnexpectedCallsExceptionSpec::it_should_expose_calls_list_through_getter()

File

vendor/phpspec/prophecy/spec/Prophecy/Exception/Prediction/UnexpectedCallsExceptionSpec.php, line 32

Class

UnexpectedCallsExceptionSpec

Namespace

spec\Prophecy\Exception\Prediction

Code

function it_should_expose_calls_list_through_getter($call1, $call2) {
  $this
    ->getCalls()
    ->shouldReturn(array(
    $call1,
    $call2,
  ));
}