# File lib/mocha/expectation_list.rb, line 24
    def match_allowing_invocation(method_name, *arguments)
      matching_expectations(method_name, *arguments).detect(&:invocations_allowed?)
    end