use of org.jboss.qa.bpms.remote.ejb.domain.MyType in project jbpm by kiegroup.
the class ETaskParametersTest method testCompleteTaskWithListType.
@Test
public void testCompleteTaskWithListType() {
MyType myObject1 = new MyType("my object 1");
MyType myObject2 = new MyType("my object 2");
List<MyType> myObjects = new ArrayList<>();
myObjects.add(myObject1);
myObjects.add(myObject2);
ListType listObject = new ListType(myObjects);
startProcessAndCompleteTask(ProcessDefinitions.HUMAN_TASK_WITH_DIFFERENT_TYPES, "outListObject", listObject, "listObject");
}
use of org.jboss.qa.bpms.remote.ejb.domain.MyType in project jbpm by kiegroup.
the class ETaskParametersTest method testSetVariable.
@Test
public void testSetVariable() {
MyType myObject = new MyType("my object");
Set<MyType> setVariable = new LinkedHashSet<>();
setVariable.add(myObject);
startProcessAndCompleteTask(ProcessDefinitions.HUMAN_TASK_WITH_DIFFERENT_TYPES, "outSetVariable", setVariable, "setVariable");
}
Aggregations