class RSpec::Mocks::Proxy

def as_null_object

stubs or message expectations.
Tells the object to ignore any messages that aren't explicitly set as
def as_null_object
  @null_object = true
  @object
end