class RSpec::Mocks::ErrorGenerator

def count_message(count, expectation_count_type=nil)

def count_message(count, expectation_count_type=nil)
  return "at least #{pretty_print(count.abs)}" if count < 0 || expectation_count_type == :at_least
  return "at most #{pretty_print(count)}" if expectation_count_type == :at_most
  return pretty_print(count)
end