void () { Object nil = null; assertEquals("[]", JBIterable.of(nil).toList().toString()); assertEquals("[null, null, null]", JBIterable.of(nil, nil, nil).toList().toString()); assertEquals("[null, null, null]", JBIterable.of(ContainerUtil.ar(nil, nil, nil)).toList().toString()); assertEquals("[null, null, null]", JBIterable.from(Arrays.asList(nil, nil, nil)).toList().toString()); assertEquals("[]", JBIterable.generate(null, x -> null).toList().toString()); assertEquals("[42]", JBIterable.generate(42, x -> null).toList().toString()); }