5051525354555657585960
assert !doSomething.isReady(); assert !doSomething.isExecuted(); doSomething.markReady(); executorService.checkForReadyTasks(); assert doSomething.isReady(); eventually(new Condition() { @Override
3334353637383940414243
5152535455565758596061
8687888990919293949596
} for (DoSomething doSomething : tasks) { doSomething.markReady(); } executorService.checkForReadyTasks(); for (final DoSomething doSomething : tasks) { eventually(new Condition() { @Override public boolean isSatisfied() throws Exception {
6970717273747576777879
8788899091929394959697