@Test
void testTrySplit() {

    Set<String> threadNames = new HashSet<>();
    final Set<Integer> set = StreamSupport.stream(instance, true)
            .peek(i -> threadNames.add(Thread.currentThread().getName()))
            .collect(toSet());
    assertEquals(expectedSet, set);
}