function it_records_even_failed_checked_predictions($objectProphecy, ArgumentsWildcard $arguments, PredictionInterface $prediction, Call $call1, Call $call2, PromiseInterface $promise)
{
$objectProphecy->addMethodProphecy($this)->willReturn(null);
$prediction->check(array($call1, $call2), $objectProphecy->getWrappedObject(), $this)->willThrow(new \RuntimeException());
$objectProphecy->findProphecyMethodCalls('getName', $arguments)->willReturn(array($call1, $call2));
$this->will($promise);
$this->withArguments($arguments);
try {
$this->callOnWrappedObject('shouldHave', array($prediction));
} catch (\Exception $e) {
}
$this->getCheckedPredictions()->shouldReturn(array($prediction));
}