You are here

function CallCenterSpec::it_returns_null_for_any_call_through_makeCall_if_no_method_prophecies_added in Zircon Profile 8

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

File

vendor/phpspec/prophecy/spec/Prophecy/Call/CallCenterSpec.php, line 38

Class

CallCenterSpec

Namespace

spec\Prophecy\Call

Code

function it_returns_null_for_any_call_through_makeCall_if_no_method_prophecies_added($objectProphecy) {
  $objectProphecy
    ->getMethodProphecies()
    ->willReturn(array());
  $this
    ->makeCall($objectProphecy, 'setValues', array(
    5,
    2,
    3,
  ))
    ->shouldReturn(null);
}