@Test
void testFlatMapToInt() {

    final int expected = refStream().flatMapToInt(e -> IntStream.range(0, e.getValue())).sum();
    final int actual = instance.flatMapToInt((k, v) -> IntStream.range(0, v)).sum();
    assertEquals(expected, actual);
}