assertEquals(INVENTORY_CHECK_MESSAGE, messages[4]) ;
assertTrue("Shipped triggered", (messages[8] != null) && messages[8].endsWith(SHIPPED_MESSAGE)) ;
}
public void sendDeployMessage() throws Exception {
ProcessDeployer pd = new ProcessDeployer();
ArrayList<File> files = new ArrayList<File>();
String processDef = Helpers.getQuickstartLocation("bpm_orchestration2/processDefinition");
File processDefDir = new File(processDef);
File[] processFiles = processDefDir.listFiles();
for (int i= 0; i< processFiles.length; i++) {
files.add(processFiles[i]);
}
pd.execute("localhost", "8080", "/jbpm-console/upload", files);
}