module RSpec::Mocks::ExampleMethods

def allow_message_expectations_on_nil

early on.
nil. This is to prevent false-positives and to catch potential bugs
By default warning messages are issued when expectations are set on

Disables warning messages about expectations being set on nil.
def allow_message_expectations_on_nil
  Proxy.allow_message_expectations_on_nil
end