void () { final MyQueue queue = new MyQueue(); queue.showNotify(); final MyUpdate first = new MyUpdate("first"); final MyUpdate second = new MyUpdate("second"); queue.queue(first); queue.queue(second); waitForExecution(queue); assertAfterProcessing(first, true, true); assertAfterProcessing(second, true, true); }