class FlexMock::ExactCountValidator

Validator for exact call counts.

Public Instance Methods

validate(n) click to toggle source

Validate that the method expectation was called exactly n times.

# File lib/flexmock/validators.rb, line 77
def validate(n)
  validate_count(n) { @limit == n }
end