try {
// we first sent one event to get the queue started
final Map<String, Object> properties = new HashMap<String, Object>();
properties.put("counter", -1);
jobManager.addJob("sling/orderedtest/start", properties);
assertTrue("No event received in the given time.", cb.block(5));
cb.reset();
// get the queue
final Queue q = jobManager.getQueue("orderedtest");
assertNotNull("Queue 'orderedtest' should exist!", q);