public void testWaitForAllAcksWithTimeout() {
final AckCollector ac=new AckCollector(null, list);
new Thread() {
public void run() {
ac.ack("one");
System.out.println("AckCollector: " + ac);
Util.sleep(100);
ac.ack("two");
System.out.println("AckCollector: " + ac);
Util.sleep(100);