# File lib/mocha/expectation_list.rb, line 26
26:     def match_allowing_invocation(method_name, *arguments)
27:       matching_expectations(method_name, *arguments).detect { |e| e.invocations_allowed? }
28:     end