class RSpec::Mocks::ArgumentExpectation

def null_object?(obj)

def null_object?(obj)
  obj.respond_to?(:__rspec_double_acting_as_null_object?) && obj.__rspec_double_acting_as_null_object?
end