public static boolean isNumber(String str) {
        return isNotEmpty(str) && NUM_PATTERN.matcher(str).matches();
    }
@Test
    void testIsInteger() throws Exception {
        assertFalse(StringUtils.isNumber(null));
        assertFalse(StringUtils.isNumber(""));
        assertTrue(StringUtils.isNumber("123"));
    }