question: public void testIterator ( ) throws InterruptedException { LinkedBlockingQueue q = populatedQueue ( SIZE ) ; Iterator it = q . iterator ( ) ; while ( it . hasNext ( ) ) { assertEquals ( it . next ( ) , q . take ( ) ) ; } }
target:  iterator iterates through all elements