Map<String, Object> params = new HashMap<String, Object>();
String val = "initial-val";
params.put("test", val);
Command cmd = new StartProcessCommand("StructureRef");
((StartProcessCommand) cmd).setParameters(params);
ProcessInstance processInstance = ksession.execute((StartProcessCommand) cmd);
assertTrue(processInstance.getState() == ProcessInstance.STATE_ACTIVE);
JaxbCommandsResponse resp = new JaxbCommandsResponse();
resp.setDeploymentId("deploy");
resp.setProcessInstanceId(processInstance.getId());
resp.addResult(processInstance, 0, cmd);
testRoundTrip(resp);
cmd = new GetTaskAssignedAsBusinessAdminCommand();