### Question:
CyclicIterator implements Iterator<T> { @Override public boolean hasNext() { return hasNext; } CyclicIterator(final List<T> list); @Override boolean hasNext(); @Override T next(); void stop();  }### Answer:
@Test public void testEmptyIterator() { CyclicIterator<Integer> it = new CyclicIterator<>(Collections.emptyList()); assertThat(it.hasNext(), equalTo(false)); }