function it_does_not_set_return_promise_during_shouldHave_call_if_it_was_set_before($objectProphecy, ArgumentsWildcard $arguments, PredictionInterface $prediction, Call $call1, Call $call2, PromiseInterface $promise)
{
$objectProphecy->addMethodProphecy($this)->willReturn(null);
$prediction->check(array($call1, $call2), $objectProphecy->getWrappedObject(), $this)->shouldBeCalled();
$objectProphecy->findProphecyMethodCalls('getName', $arguments)->willReturn(array($call1, $call2));
$this->will($promise);
$this->withArguments($arguments);
$this->callOnWrappedObject('shouldHave', array($prediction));
$this->getPromise()->shouldReturn($promise);
}