@Test
void testCreateWithNewValuesUsingValueMapperWhichUsesOnlyValuesToADifferentType() {

    ImmutableMap<Integer, String> baseMap = ImmutableMap.of(
            3, "1",
            7, "2",
            14, "3",
            1, "4");
    ImmutableMap<Integer, Integer> expected = ImmutableMap.of(
            3, 1,
            7, 2,
            14, 3,
            1, 4);
    ImmutableMap<Integer, Integer> actual = ImmutableMapFactory.
            createWithNewValues(baseMap, (Function<String, Integer>) Integer::parseInt);
    Assertions.assertEquals(expected, actual);
}