_win.stop();
} // testAck()
public void testRemove() throws UnknownHostException {
AckMcastSenderWindow mywin=new AckMcastSenderWindow(new MyCommand(), new StaticInterval(1000, 2000, 3000));
Address sender1=new IpAddress("127.0.0.1", 10000);
Address sender2=new IpAddress("127.0.0.1", 10001);
Address sender3=new IpAddress("127.0.0.1", 10002);
Vector senders=new Vector();
Message msg=new Message();
long seqno=322649;
senders.addElement(sender1);
senders.addElement(sender2);
senders.addElement(sender3);
mywin.add(seqno, msg, (Vector)senders.clone()); // clone() for the fun of it...
mywin.ack(seqno, sender1);
mywin.ack(seqno, sender2);
System.out.println("entry is " + mywin.printDetails(seqno));
assertEquals(3, mywin.getNumberOfResponsesExpected(seqno));
assertEquals(2, mywin.getNumberOfResponsesReceived(seqno));
mywin.waitUntilAllAcksReceived(4000);
mywin.suspect(sender3);
assertEquals(0, mywin.size()); // because suspect() removed that entry
}