Connection connection = JMSUtil.createConnection(InVMConnectorFactory.class.getName());
MessageConsumer consumer = JMSUtil.createConsumer(connection, queue);
Assert.assertEquals(1, queueControl.getConsumerCount());
JSONArray jsonArray = new JSONArray(queueControl.listConsumersAsJSON());
assertEquals(1, jsonArray.length());
JMSUtil.sendMessages(queue, 2);