public static Properties parseKeyValueArgs(List<String> args) {
        return parseKeyValueArgs(args, true);
    }
@Test
    public void testParseArgs() {
        List<String> argArray = Arrays.asList("first.property=first", "second.property=second");
        Properties props = CommandLineUtils.parseKeyValueArgs(argArray);

        assertEquals(props.getProperty("first.property"), "first", "Value of first property should be 'first'");
        assertEquals(props.getProperty("second.property"), "second", "Value of second property should be 'second'");
    }