use of org.camunda.bpm.model.xml.testmodel.TestModelParser in project camunda-xml-model by camunda.
the class AttributeTest method createModel.
public static Object[] createModel() {
TestModelParser modelParser = new TestModelParser();
ModelInstance modelInstance = modelParser.getEmptyModel();
Animals animals = modelInstance.newInstance(Animals.class);
modelInstance.setDocumentElement(animals);
createBird(modelInstance, "tweety", Gender.Female);
return new Object[] { "created", modelInstance, modelParser };
}
Aggregations