MinValidator validator = new MinValidator();
assertTrue(validator.validate(null, null));
assertTrue(validator.validate(4, new TestValidatorContext("4")));
assertFalse(validator.validate(4, new TestValidatorContext("5")));
try {
validator.validate(4, new TestValidatorContext("4.4"));
fail("exception expected");
} catch (ProcessEngineException e) {