# File lib/flexmock.rb, line 359 359: def validate(n) 360: assert_equal @limit, n, 361: "method '#{@exp}' called incorrect number of times" 362: end