@Test
public void testToMap1() {

    CheckedIterator<String, RuntimeException> iterator;
    iterator = create("one", "two");
    assertEquals(ImmutableMap.of("one", "hello", "two", "hello"), iterator.toMap(o -> "hello"));
}