# File lib/flexmock.rb, line 297 297: def call(*args) 298: exp = @expectations.find { |e| e.match_args(args) && e.eligible? } || 299: @expectations.find { |e| e.match_args(args) } || 300: @expectations.find { |e| e.expected_args.nil? } 301: FlexMock.check("no matching handler found for " + 302: FlexMock.format_args(@sym, args)) { ! exp.nil? } 303: exp.verify_call(*args) 304: end