public static boolean isNumber(String text) {
        final int startPos = findStartPosition(text);
        if (startPos < 0) {
            return false;
        }

        for (int i = startPos; i < text.length(); i++) {
            char ch = text.charAt(i);
            if (!Character.isDigit(ch)) {
                return false;
            }
        }
        return true;
    }
@Test
    @DisplayName("Tests that isNumber returns true for integers")
    void isNumberIntegers() {
        assertTrue(ObjectHelper.isNumber("1234"));
        assertTrue(ObjectHelper.isNumber("-1234"));
        assertTrue(ObjectHelper.isNumber("1"));
        assertTrue(ObjectHelper.isNumber("0"));
    }