# File lib/flexmock/validators.rb, line 51 51: def validate(n) 52: FlexMock.framework_adapter.assert_block( 53: "Method '#{@exp}' should be called at least #{@limit} times,\n" + 54: "only called #{n} times") { n >= @limit } 55: end