use of org.kie.workbench.common.stunner.bpmn.definition.StartMessageEvent in project kie-wb-common by kiegroup.
the class StartEventFilterProviderFactoryTest method testFilterProviderShowIsInterruptingField.
@Test
public void testFilterProviderShowIsInterruptingField() {
BaseStartEvent[] testedClasses = { new StartSignalEvent(), new StartTimerEvent(), new StartConditionalEvent(), new StartEscalationEvent(), new StartMessageEvent() };
when(parentView.getDefinition()).thenReturn(eventSubprocess);
Stream.of(testedClasses).forEach(startEvent -> testStartEventFilterProviderShowIsInterruptingField(startEvent));
}
use of org.kie.workbench.common.stunner.bpmn.definition.StartMessageEvent in project kie-wb-common by kiegroup.
the class VariableUtilsTest method mockStartMessageEvent.
private StartMessageEvent mockStartMessageEvent(String name, String assignmentsInfoValue) {
StartMessageEvent result = mockStartEvent(name, StartMessageEvent.class);
AssignmentsInfo assignmentsInfo = mockAssignmentsInfo(assignmentsInfoValue);
DataIOSet dataIOSet = mockIOSet(assignmentsInfo);
when(result.getDataIOSet()).thenReturn(dataIOSet);
return result;
}
Aggregations