void () { JBIterator<Integer> it = JBIterator.from(JBIterable.of(1).iterator()); assertTrue(it.advance()); assertEquals(Integer.valueOf(1), it.current()); assertFalse(it.hasNext()); assertEquals(Integer.valueOf(1), it.current()); }