function it_checks_set_prediction_during_checkPrediction($objectProphecy, ArgumentsWildcard $arguments, PredictionInterface $prediction, Call $call1, Call $call2)
{
$prediction->check(array($call1, $call2), $objectProphecy->getWrappedObject(), $this)->shouldBeCalled();
$objectProphecy->findProphecyMethodCalls('getName', $arguments)->willReturn(array($call1, $call2));
$objectProphecy->addMethodProphecy($this)->willReturn(null);
$this->withArguments($arguments);
$this->callOnWrappedObject('should', array($prediction));
$this->checkPrediction();
}