class RSpec::Mocks::Proxy

def find_almost_matching_stub(method_name, *args)

def find_almost_matching_stub(method_name, *args)
  method_double[method_name].stubs.find {|stub| stub.matches_name_but_not_args(method_name, *args)}
end