question: void processUpdateQueueForTesting ( ) { while ( ! updates . isEmpty ( ) ) { IUpdate update = updates . poll ( ) ; if ( update != null ) update . dispatch ( ) ; } }
target:  FOR TESTING ONLY. Dispatch all updates in the update queue until queue is empty