MessageReference ref = createReference(0, true, "payload");
SimpleDeliveryObserver observer = new SimpleDeliveryObserver();
// non-transacted send, reliable message, one message
Delivery delivery = queue.handle(observer, ref, null);
assertTrue(delivery.isDone());
int deliveringCount = queue.getDeliveringCount();
assertEquals(1, deliveringCount);
List received = r.getMessages();