use of org.activiti.bpmn.model.Event in project Activiti by Activiti.
the class AbstractConverterTest method extractEventDefinition.
protected EventDefinition extractEventDefinition(FlowElement flowElement) {
assertNotNull(flowElement);
assertTrue(flowElement instanceof Event);
Event event = (Event) flowElement;
assertFalse(event.getEventDefinitions().isEmpty());
return event.getEventDefinitions().get(0);
}
Aggregations