### Question:
UpdateValidateUtil { public static void checkMinMaxInt(Integer value, int minValue, long maxValue, String fieldName, ValidationResult validationResult) { if (null == value) { return; } if (value < minValue || value > maxValue) { validationResult.addError(UpdateValidationError.build40010Error( fieldName, minValue, maxValue)); } } private  UpdateValidateUtil(); static void checkNotEmpty(String value, String fieldName,
            ValidationResult validationResult); static void checkNotNull(Object value, String fieldName,
            ValidationResult validationResult); static void checkNotEmpty(List<String> values, String fieldName,
            ValidationResult validationResult); static void checkMaxLength(String value, int maxLength,
            String fieldName, ValidationResult validationResult); static void checkMinMaxInt(Integer value, int minValue,
            long maxValue, String fieldName, ValidationResult validationResult); static void checkMinMaxLong(Long value, int minValue,
            long maxValue, String fieldName, ValidationResult validationResult); static void checkMinMaxDate(Date value, Date minValue,
            Date maxValue, String fieldName, ValidationResult validationResult); static void checkValidAndMinMaxDate(String dateString,
            Date minValue, Date maxValue, String fieldName,
            ValidationResult validationResult); static void checkNotEmptyAndValidMinMaxDate(String dateString,
            String fieldName, ValidationResult validationResult); static final String ERROR_PROP_NAME_PREFIX_EVENT; static final String ERROR_PROP_NAME_PREFIX_PUBLICID; static final String ERROR_PROP_NAME_PREFIX_REMARK; static final String ERROR_PROP_NAME_PREFIX_LINK; static final String ERROR_PROP_NAME_PREFIX_ENTITY; static final String ERROR_PROP_NAME_PREFIX_ENTITY_ADDR; static final String ERROR_PROP_NAME_PREFIX_ENTITY_TEL; static final int MAX_LENGTH_LANG; static final int MAX_LENGTH_PORT43; static final int MAX_LENGTH_UNICODENAME; static final int MAX_LENGTH_HANDLE; static final int MAX_LENGTH_STATUS; static final int MAX_LENGTH_LDHNAME; static final int MAX_LENGTH_255; static final int MAX_LENGTH_2048; static final int MIN_VAL_FOR_INT_COLUMN; static final int MAX_VAL_FOR_INT_COLUMN; static final int MIN_VAL_FOR_TINYINT_COLUMN; static final int MAX_VAL_FOR_TINYINT_COLUMN; static final int MIN_VAL_FOR_BIGINT_COLUMN; static final long MAX_VAL_FOR_BIGINT_COLUMN; static Date minValForDateTimeColum; static Date maxValForDateTimeColum; static final int MAX_LENGTH_VERSION; }### Answer:
@Test public void testCheckMinMaxInt_haserror() throws ParseException { ValidationResult validationResult = new ValidationResult(); UpdateValidateUtil.checkMinMaxInt(-1, UpdateValidateUtil.MIN_VAL_FOR_INT_COLUMN, UpdateValidateUtil.MAX_VAL_FOR_INT_COLUMN, "maxSigLife", validationResult); assertTrue(validationResult.hasError()); }