use of org.camunda.bpm.engine.impl.cmmn.transformer.CmmnTransform in project camunda-bpm-platform by camunda.
the class CmmnTransformerTest method setup.
@Before
public void setup() {
CmmnTransformer transformerWrapper = new CmmnTransformer(null, new DefaultCmmnElementHandlerRegistry(), null);
transformer = new CmmnTransform(transformerWrapper);
deployment = new DeploymentEntity();
deployment.setId("aDeploymentId");
transformer.setDeployment(deployment);
modelInstance = Cmmn.createEmptyModel();
definitions = modelInstance.newInstance(Definitions.class);
definitions.setTargetNamespace("http://camunda.org/examples");
modelInstance.setDefinitions(definitions);
caseDefinition = createElement(definitions, "aCaseDefinition", Case.class);
casePlanModel = createElement(caseDefinition, "aCasePlanModel", CasePlanModel.class);
}
Aggregations