Search in sources :

Example 1 with NestedType

use of org.jboss.qa.bpms.remote.ejb.domain.NestedType in project jbpm by kiegroup.

the class ETaskParametersTest method testCompleteTaskWithNestedType.

@Test
public void testCompleteTaskWithNestedType() {
    MyType myObject = new MyType("my object text");
    NestedType nestedObject = new NestedType("nested object text", myObject);
    startProcessAndCompleteTask(ProcessDefinitions.HUMAN_TASK_WITH_DIFFERENT_TYPES, "outNestedObject", nestedObject, "nestedObject");
}
Also used : MyType(org.jboss.qa.bpms.remote.ejb.domain.MyType) NestedType(org.jboss.qa.bpms.remote.ejb.domain.NestedType) RemoteEjbTest(org.jbpm.remote.ejb.test.RemoteEjbTest) Test(org.junit.Test)

Aggregations

MyType (org.jboss.qa.bpms.remote.ejb.domain.MyType)1 NestedType (org.jboss.qa.bpms.remote.ejb.domain.NestedType)1 RemoteEjbTest (org.jbpm.remote.ejb.test.RemoteEjbTest)1 Test (org.junit.Test)1