Search in sources :

Example 1 with TaskActivityBehavior

use of org.camunda.bpm.engine.impl.cmmn.behavior.TaskActivityBehavior in project camunda-bpm-platform by camunda.

the class TaskPlanItemHandlerTest method testActivityBehavior.

@Test
public void testActivityBehavior() {
    // given: a planItem
    // when
    CmmnActivity activity = handler.handleElement(planItem, context);
    // then
    CmmnActivityBehavior behavior = activity.getActivityBehavior();
    assertTrue(behavior instanceof TaskActivityBehavior);
}
Also used : CmmnActivityBehavior(org.camunda.bpm.engine.impl.cmmn.behavior.CmmnActivityBehavior) CmmnActivity(org.camunda.bpm.engine.impl.cmmn.model.CmmnActivity) TaskActivityBehavior(org.camunda.bpm.engine.impl.cmmn.behavior.TaskActivityBehavior) Test(org.junit.Test)

Aggregations

CmmnActivityBehavior (org.camunda.bpm.engine.impl.cmmn.behavior.CmmnActivityBehavior)1 TaskActivityBehavior (org.camunda.bpm.engine.impl.cmmn.behavior.TaskActivityBehavior)1 CmmnActivity (org.camunda.bpm.engine.impl.cmmn.model.CmmnActivity)1 Test (org.junit.Test)1