upgraderOrder.verify(upgrader, times(2)).upgrade(any(MConnectionForms.class), any(MConnectionForms.class));
upgraderOrder.verify(upgrader, times(2)).upgrade(any(MJobForms.class), any(MJobForms.class));
upgraderOrder.verifyNoMoreInteractions();
validatorOrder.verify(validator, times(2)).validateConnection(anyObject());
validatorOrder.verify(validator, times(2)).validateJob(any(MJob.Type.class), anyObject());
validatorOrder.verifyNoMoreInteractions();
}
/**
* Test the framework upgrade procedure, when all the connections and
* jobs using the old connector are invalid for the new connector