@Test
void forEachOrdered() {

    instance.forEachOrdered(i -> cnt.incrementAndGet());
    assertEquals(1, cnt.get());
    assertThrows(IllegalStateException.class, () -> instance.forEachOrdered(x -> {}));
}