Validator for exact call counts.
Validate that the method expectation was called exactly n
times.
# File lib/flexmock/validators.rb, line 39 def validate(n) FlexMock.framework_adapter.assert_equal @limit, n, "method '#{@exp}' called incorrect number of times" end