void () { JBIterable<String> it = JBIterable.of("42"); assertEquals(1, it.size()); assertEquals("42", it.first()); assertEquals("42", it.last()); assertEquals("42", it.single()); assertEquals("[42, 42]", it.append(it).toList().toString()); assertEquals("[42, 42]", it.repeat(2).toList().toString()); assertEquals("[42, 42, 48, 48]", it.append("42").append(Arrays.asList("48", "48")).toList().toString()); assertEquals("[42, 42, 48, 48, 49]", it.append("42").append(Arrays.asList("48", "48")).append("49").toList().toString()); assertEquals("[42, 42, 48, 48, 49]", it.append("42").append(JBIterable.of("48").append("48")).append("49").toList().toString()); }