use of io.serverlessworkflow.api.transitions.Transition in project kogito-runtimes by kiegroup.
the class SwitchValidatorTest method mockDefaultConditionWithTransition.
private static DefaultConditionDefinition mockDefaultConditionWithTransition() {
DefaultConditionDefinition defaultCondition = mock(DefaultConditionDefinition.class);
Transition transition = mock(Transition.class);
doReturn(transition).when(defaultCondition).getTransition();
return defaultCondition;
}
Aggregations