synchronized (incoming)
{
Waiter w = new Waiter(incoming, 30000);
while (w.hasTime() && incoming.size() < 4)
{
w.await();
}
assertEquals(4, incoming.size());
assertEquals("ECHO 1", incoming.get(0).getBodyString());
assertEquals(0, incoming.get(0).getId());