@Test
public void testMergeConfigs4() {

    String firstConfig = "peer.listen.port=30123,sync.enabled=true";
    SystemProperties props = new SystemProperties();
    Config config = props.mergeConfigs(firstConfig, ConfigFactory::parseString);
    assertEquals(30123, config.getInt("peer.listen.port"));
    assertEquals(Boolean.TRUE, config.getBoolean("sync.enabled"));
}