@Test
void collect3Arg() {

    assertEquals(singletonList(ELEMENT), instance.collect(ArrayList::new, List::add, ArrayList::addAll));
    assertThrows(IllegalStateException.class, () -> instance.collect(ArrayList::new, List::add, ArrayList::addAll));
}