public function check(array $calls, FunctionProphecy $prophecy)
    {
        if (!count($calls)) {
            return;
        }

        $verb = count($calls) === 1 ? 'was' : 'were';

        throw new UnexpectedCallsException(sprintf(
            "No calls expected that match:\n".
            "  %s(%s)\n".
            "but %d %s made:\n%s",
            $prophecy->getName(),
            $prophecy->getArgumentsWildcard(),
            count($calls),
            $verb,
            $this->util->stringifyCalls($calls)
        ));
    }