112113114115116117118119120121122
StageContext context = new StageContext(); stage.init(context); stage.preProcess(); try { stage.process(event); } catch (Exception e) { Assert.fail("Should not fail since compatibility check will be skipped if participant version is null"); }
131132133134135136137138139140141
StageContext context = new StageContext(); stage.init(context); stage.preProcess(); try { stage.process(event); } catch (Exception e) { Assert.fail("Should not fail since compatibility check will be skipped if controller version is null"); }
150151152153154155156157158159160
StageContext context = new StageContext(); stage.init(context); stage.preProcess(); try { stage.process(event); Assert.fail("Should fail since participant version is less than the minimum participant version supported by controller"); } catch (Exception e) { // OK