class RSpec::Mocks::Proxy
def check_for_unexpected_arguments(expectation)
- Private: -
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