# File lib/flexmock/validators.rb, line 71
71:     def validate(n)
72:       FlexMock.framework_adapter.assert_block(
73:         "Method '#{@exp}' should be called at most #{@limit} times,\n" +
74:         "only called #{n} times") { n <= @limit }
75:     end