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