@Test(priority = 1) /** run through a publish without exception */ public void publishTest() throws Exception { CmsCISimple cloudCmsCISimple = new CmsCISimple(); Map<String, String> ciAttributes = new HashMap<String, String>(); ciAttributes.put("location", "/east/centra/locale"); cloudCmsCISimple.setCiAttributes(ciAttributes); CmsActionOrderSimple workOrder = new CmsActionOrderSimple(); workOrder.setCloud(cloudCmsCISimple); String processId = "123"; String execId = "234"; publisher.init(); publisher.publishMessage(processId, execId, workOrder, "xWaiting-task-name", "x-deployment"); }