@Test
void flatMapValue() {

    final long expected = refStream().flatMap(e -> IntStream.range(0, e.getValue()).boxed()).count();
    final long actual = instance.flatMapValue(v -> IntStream.range(0, v).boxed()).count();
    assertEquals(expected, actual);
}