public static Properties mergeProps(Properties original, Properties newProperties) {
        Properties props = new Properties();
        props.putAll(original);
        props.putAll(newProperties);
        return props;
    }
@Test
    public void test_mergeProps() {
        Properties newProps = new Properties();
        newProps.put("A", "B");
        newProps.put("B", "C");

        Properties existingProps =  new Properties();
        existingProps.put("B", "D");
        existingProps.put("D", "E");

        Properties mergedProps = Util.mergeProps(existingProps, newProps);
        assertThat(mergedProps.size()).isEqualTo(existingProps.size() + newProps.size() - 1);
        assertThat(mergedProps).contains(
                entry("A", "B"),
                entry("B", "C"),
                entry("D", "E")
        );
    }