# File lib/flexmock/expectation_director.rb, line 37 37: def call(*args) 38: exp = @expectations.find { |e| e.match_args(args) && e.eligible? } || 39: @expectations.find { |e| e.match_args(args) } 40: FlexMock.check("no matching handler found for " + 41: FlexMock.format_args(@sym, args)) { ! exp.nil? } 42: exp.verify_call(*args) 43: end