# File lib/facon/error_generator.rb, line 8
    def raise_expectation_error(expectation)
      message = "#{target_name} expected :#{expectation.method} with #{format_args(*expectation.argument_expectation)} #{format_count(expectation.expected_received_count)}, but received it #{format_count(expectation.actual_received_count)}"
      raise(Facon::MockExpectationError, message)
    end