### Question:
PrimitiveLongArrayQueue { public LongIterator longIterator() { return new PrimitiveLongArrayQueueIterator(); } PrimitiveLongArrayQueue();   PrimitiveLongArrayQueue( int capacity ); boolean isEmpty(); void clear(); int size(); LongIterator longIterator(); long dequeue(); void enqueue( long value ); void addAll( PrimitiveLongArrayQueue otherQueue );  }### Answer:
@Test void failToGetNextOnEmptyQueueIterator() { assertThrows( NoSuchElementException.class, () -> createQueue().longIterator().next() ); }