@Test public void testGroupingBy_withReducer_twoEntriesSameGroup() {

  BiStream<String, Integer> salaries = BiStream.of("Joe", 100, "John", 200);
  assertKeyValues(salaries.collect(groupingBy(s -> s.charAt(0), Integer::sum)))
      .containsExactly('J', 300);
}