@Test
public void testParseKeyValueList() {

    Map<String, String> actual = parseKeyValueList("key1:value1,key2:value2,key3:,key4");
    assertThat(actual).containsAllEntriesOf(ImmutableMap.<String, String>
            builder().put("key1", "value1").put("key2", "value2").put("key3", "").put("key4", "").build()
    );
}