# File lib/spec/mocks/proxy.rb, line 130 def record_almost_matching_expectation(expectation, sym, *args, &block) expectation.advise(args, block) unless (null_object? or has_negative_expectation?(sym)) raise_unexpected_message_args_error(expectation, *args) end end