method

find_matching_expectation

find_matching_expectation(sym, *args)
private

No documentation available.

# File lib/spec/mocks/proxy.rb, line 235
      def find_matching_expectation(sym, *args)
        @expectations.find {|expectation| expectation.matches(sym, args) && !expectation.called_max_times?} || 
        @expectations.find {|expectation| expectation.matches(sym, args)}
      end