@Test
public void testTransform() {

    CheckedIterator<String, RuntimeException> iterator;
    iterator = create("one", "two", "three").transform(o -> "hello");
    assertArrayEquals(new String[]{"hello", "hello", "hello"}, iterator.toList().toArray());
}