String[] messageIDs = JMSUtil.sendMessages(queue, 1);
JMSQueueControl queueControl = createManagementControl();
Assert.assertEquals(1, queueControl.getMessageCount());
boolean moved = queueControl.moveMessage(messageIDs[0], otherQueueName);
Assert.assertTrue(moved);
Assert.assertEquals(0, queueControl.getMessageCount());
JMSUtil.consumeMessages(0, queue);
JMSUtil.consumeMessages(1, otherQueue);