# File lib/rspec/mocks/proxy.rb, line 88 def check_for_unexpected_arguments(expectation) @messages_received.each do |(method_name, args, _)| if expectation.matches_name_but_not_args(method_name, *args) raise_unexpected_message_args_error(expectation, *args) end end end