public function calledWith()
{
$cardinality = $this->cardinality;
$matchers = $this->matcherFactory->adaptAll(func_get_args());
if ($result = call_user_func_array(array($this, 'checkCalledWith'), $matchers)) {
return $result;
}
return $this->assertionRecorder->createFailure($this->assertionRenderer->renderCalledWith($this->call, $cardinality, $matchers));
}