class RSpec::Mocks::ProxyForNil

def add_negative_message_expectation(location, method_name, &implementation)

def add_negative_message_expectation(location, method_name, &implementation)
  warn(method_name) if warn_about_expectations?
  super
end