class RSpec::Mocks::Matchers::HaveReceived

def ensure_count_unconstrained

def ensure_count_unconstrained
  if count_constraint
    raise RSpec::Mocks::MockExpectationError,
      "can't use #{count_constraint} when negative"
  end
end