class RSpec::Mocks::Proxy

def find_matching_expectation(method_name, *args)

def find_matching_expectation(method_name, *args)
  find_best_matching_expectation_for(method_name) do |expectation|
    expectation.matches?(method_name, *args)
  end
end