fail("Expected InterruptException");
}
catch(InterruptException e) {
// ok
}
final SerializedWorkflow checkPoint1 = serializer.serializeWorkflow(wf);
wf.setEngine(engine);
wf.__beforeProcess();
try {
wf.main();
fail("Expected InterruptException");
}
catch(InterruptException e) {
// ok
}
final SerializedWorkflow checkPoint2 = serializer.serializeWorkflow(wf);
wf.setEngine(engine);
wf.__beforeProcess();
wf.main();