@Test
public void testValidateIntegerParam() {

    // Test correct input
    try {
        ConfigParser.validateIntegerParam(Integer.toString(Integer.MAX_VALUE));
        ConfigParser.validateIntegerParam(Integer.toString(Integer.MIN_VALUE));
        ConfigParser.validateIntegerParam(Integer.toString(0));
    } catch (NullPointerException | ExitException e) {
        fail("value is valid");
    }
    // Test invalid input
    try {
        ConfigParser.validateIntegerParam("0.0"); // invalid integer
        fail("value is invalid");
    } catch (final ExitException e) {
        ; // Correct behavior
    }
    // Test null input
    try {
        ConfigParser.validateIntegerParam(null);
        fail("value is null");
    } catch (final ExitException e) {
        fail("value is null");
    } catch (final NullPointerException e) {
        ; // Correct behavior
    }
}