### Question:
CapacityQueue extends AbstractQueue<E> { @Override @NonNull public Iterator<E> iterator() { return mDeque.iterator(); } CapacityQueue(int maxCapacity, @DropPolicy int dropPolicy); @Override int size(); @Override boolean offer(E e); @Override E poll(); @Override E peek(); @Override @NonNull Iterator<E> iterator();  }### Answer:
@Test public void testIteratorEmptyQueue() { CapacityQueue<Integer> queue = new CapacityQueue<>(DEFAULT_CAPACITY, DEFAULT_DROP_POLICY); Iterator<Integer> iterator = queue.iterator(); assertThat(iterator.hasNext()).isFalse(); }