@Test
void testFlatMapToLong() {

    final long expected = refStream().flatMapToLong(e -> LongStream.range(0, e.getValue())).sum();
    final long actual = instance.flatMapToLong((k, v) -> LongStream.range(0, v)).sum();
    assertEquals(expected, actual);
}