use of org.kie.workbench.common.forms.jbpm.server.service.formGeneration.model.Person in project kie-wb-common by kiegroup.
the class AbstractBPMNFormGeneratorServiceTest method launchNestedFormWithCyclicReference.
protected FormGenerationResult launchNestedFormWithCyclicReference() {
List<ModelProperty> variableList = new ArrayList<>();
variableList.add(new ModelPropertyImpl("person", new TypeInfoImpl(TypeKind.OBJECT, Person.class.getName(), false)));
BusinessProcessFormModel model = new BusinessProcessFormModel(PROCESS_ID, PROCESS_ID, variableList);
FormGenerationResult result = service.generateForms(model, source);
assertNotNull(result);
assertNotNull(result.getRootForm());
checkRootForm(model, result, variableList);
return result;
}
Aggregations