parameters.put("UserName", "John Doe");
Person person = new Person();
person.setName("John Doe");
parameters.put("Person", person);
WorkflowProcessInstance processInstance = (WorkflowProcessInstance)
ksession.startProcess("org.drools.actions", parameters);
assertEquals(ProcessInstance.STATE_ACTIVE, processInstance.getState());
WorkItem workItem = handler.getWorkItem();
assertNotNull(workItem);
assertEquals("John Doe", workItem.getParameter("ActorId"));
assertEquals("John Doe", workItem.getParameter("Content"));