use of org.camunda.bpm.engine.impl.cmmn.handler.CmmnHandlerContext in project camunda-bpm-platform by camunda.
the class CmmnElementHandlerTest method setup.
@Before
public void setup() {
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);
context = new CmmnHandlerContext();
CaseDefinitionEntity caseDefinition = new CaseDefinitionEntity();
caseDefinition.setTaskDefinitions(new HashMap<String, TaskDefinition>());
context.setCaseDefinition(caseDefinition);
ExpressionManager expressionManager = new ExpressionManager();
context.setExpressionManager(expressionManager);
}
use of org.camunda.bpm.engine.impl.cmmn.handler.CmmnHandlerContext in project camunda-bpm-platform by camunda.
the class CaseHandlerTest method setUp.
@Before
public void setUp() {
context = new CmmnHandlerContext();
DeploymentEntity deployment = new DeploymentEntity();
deployment.setId("aDeploymentId");
context.setDeployment(deployment);
context.setModel(modelInstance);
}
Aggregations