function ObjectProphecySpec::it_should_proxy_getProphecyMethodCalls_to_CallCenter in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/phpspec/prophecy/spec/Prophecy/Prophecy/ObjectProphecySpec.php \spec\Prophecy\Prophecy\ObjectProphecySpec::it_should_proxy_getProphecyMethodCalls_to_CallCenter()
Parameters
\Prophecy\Call\CallCenter $callCenter:
\Prophecy\Argument\ArgumentsWildcard $wildcard:
\Prophecy\Call\Call $call:
File
- vendor/
phpspec/ prophecy/ spec/ Prophecy/ Prophecy/ ObjectProphecySpec.php, line 113
Class
Namespace
spec\Prophecy\ProphecyCode
function it_should_proxy_getProphecyMethodCalls_to_CallCenter($lazyDouble, $callCenter, $wildcard, $call) {
$this
->beConstructedWith($lazyDouble, $callCenter);
$callCenter
->findCalls('setName', $wildcard)
->willReturn(array(
$call,
));
$this
->findProphecyMethodCalls('setName', $wildcard)
->shouldReturn(array(
$call,
));
}