spec\Prophecy\Prophecy\ObjectProphecySpec::it_should_proxy_makeProphecyMethodCall_to_CallCenter PHP Method

it_should_proxy_makeProphecyMethodCall_to_CallCenter() public method

public it_should_proxy_makeProphecyMethodCall_to_CallCenter ( $lazyDouble, Prophecy\Call\CallCenter $callCenter )
$callCenter Prophecy\Call\CallCenter
    function it_should_proxy_makeProphecyMethodCall_to_CallCenter($lazyDouble, CallCenter $callCenter)
    {
        $this->beConstructedWith($lazyDouble, $callCenter);
        $callCenter->makeCall($this->getWrappedObject(), 'setName', array('everzet'))->willReturn(42);
        $this->makeProphecyMethodCall('setName', array('everzet'))->shouldReturn(42);
    }