1.1.0
Pre-release
Pre-release
This releases is validated with all released versions of Camunda from 7.0.0-Final up to 7.15.0. Aside some minor improvements, like simplified support for error handling of user tasks, it brings call activity mocking. You can now write the following code:
when(scenario.waitsAtMockedCallActivity("CallActivity")).thenReturn((callActivity)` ->
callActivity.complete(myVariableMap);
);
Scenario.run(scenario)
.withMockedProcess("Child")
.startByKey("Parent")
.execute();
verify(scenario, times(1)).hasStarted("CallActivity");
verify(scenario, times(1)).hasFinished("CallActivity");
Have fun!