@Test
void forEachOrdered() {

    final List<String> strings = new ArrayList<>();
    instance.forEachOrdered(strings::add);
    assertEquals(1, strings.size());
    assertThrows(IllegalStateException.class, () -> instance.forEachOrdered(strings::add));
}