assertEquals(1, messages.size());
Message sm = (Message)messages.iterator().next();
assertFalse(sm.isReliable());
assertEquals(0, sm.getMessageID());
receiver.acknowledge(sm, null);
assertTrue(queue.browse().isEmpty());
messages = receiver.getMessages();
assertEquals(1, messages.size());