@Test
public void testValidateConfig() {

    try {
        final Properties properties = new Properties();
        final String requiredStrings[] = {"p1", "p2", "p3"};
        final String requiredBooleans[] = {"p4", "p5", "p6"};
        final String requiredIntegers[] = {"p7", "p8", "p9"};
        final String requiredLongs[] = {"p10", "p11", "p12"};
        for (final String param : requiredStrings) {
            properties.put(param, STRING_TEST_VALUE);
        }
        for (final String param : requiredBooleans) {
            properties.put(param, BOOLEAN_TEST_VALUE);
        }
        for (final String param : requiredIntegers) {
            properties.put(param, INT_TEST_VALUE);
        }
        for (final String param : requiredLongs) {
            properties.put(param, LONG_TEST_VALUE);
        }
        ConfigParser.validateConfig(properties, requiredStrings, requiredBooleans, requiredIntegers, requiredLongs);
    } catch (final ExitException e) {
        fail();
    }
}