public static void maxValueCheck(String paramName, long value, long maxValue) {
        if (value > maxValue) {
            throw new IllegalArgumentException(paramName + " cannot be bigger than <" + maxValue + ">!");
        }
    }
@Test
    public void testMaxValueCheck() {
        assertThrows(IllegalArgumentException.class, () -> ValueValidationUtil.maxValueCheck("param1", 11L, 10L));
        ValueValidationUtil.maxValueCheck("param2", 10L, 10L);
        ValueValidationUtil.maxValueCheck("param3", 9L, 10L);
    }