@Test
void testDistinctKeys() {

    final MapStream<String, Integer> ms = MapStream.of(entry("Car", 1), entry("Car", 2));
    assertEquals(3, ms.distinctKeys(Integer::sum).values().mapToInt(i -> i).sum());
}