Validator for exact call counts.
Methods
Public Instance methods
Validate that the method expectation was called exactly n times.
[ show source ]
# File lib/flexmock/validators.rb, line 39
39: def validate(n)
40: FlexMock.framework_adapter.assert_equal @limit, n,
41: "method '#{@exp}' called incorrect number of times"
42: end