MessageReference ref2 = ms.reference(m2);
MessageReference ref3 = ms.reference(m3);
MessageReference ref4 = ms.reference(m4);
MessageReference ref5 = ms.reference(m5);
Delivery del = queue.handle(null, ref1, null);
assertFalse(del.isSelectorAccepted());
del = queue.handle(null, ref2, null);
assertFalse(del.isSelectorAccepted());
del = queue.handle(null, ref3, null);
assertTrue(del.isSelectorAccepted());
del = queue.handle(null, ref4, null);
assertFalse(del.isSelectorAccepted());
del = queue.handle(null, ref5, null);
assertFalse(del.isSelectorAccepted());
}