### Question:
PrimitiveLongArrayQueue implements PrimitiveLongCollection { @Override public PrimitiveLongIterator iterator() { return new PrimitiveLongArrayQueueIterator(); } PrimitiveLongArrayQueue();   PrimitiveLongArrayQueue( int capacity ); @Override void visitKeys( PrimitiveLongVisitor<E> visitor ); @Override boolean isEmpty(); @Override void clear(); @Override int size(); @Override void close(); @Override PrimitiveLongIterator iterator(); long dequeue(); void enqueue( long value ); void addAll( PrimitiveLongArrayQueue otherQueue );  }### Answer:
@Test void failToGetNextOnEmptyQueueIterator() { assertThrows( NoSuchElementException.class, () -> createQueue().iterator().next() ); }