@Test
void testParse() {

    String toParse = "A:1;B:2";
    ImmutableMap<String, Integer> parsed = ImmutableMapFactory.parse(
            toParse,
            s -> s,
            Integer::parseInt);
    Assertions.assertEquals(ImmutableMap.of("A", 1, "B", 2), parsed);
    String composed = composeString(
            parsed,
            s -> s,
            i -> Integer.toString(i));
    Assertions.assertEquals(toParse, composed);
}