class RSpec::Mocks::ErrorGenerator

def raise_expectation_error(message, expected_received_count, actual_received_count, *args)

Other tags:
    Private: -
def raise_expectation_error(message, expected_received_count, actual_received_count, *args)
  __raise "(#{intro}).#{message}#{format_args(*args)}\n    expected: #{count_message(expected_received_count)}\n    received: #{count_message(actual_received_count)}"
end