Assert.assertNotNull(currentScheduleAction);
Assert.assertEquals("action.type", currentScheduleAction.getIdentifier());
Assert.assertTrue(Arrays.equals("action.data".getBytes(), currentScheduleAction.getDefinition()));
Assert.assertFalse(currentScheduleAction.isArchived());
ScheduleJobActionParameters actionParameters = new ScheduleJobActionParameters();
actionParameters.setIdentifier("action.type.2");
actionParameters.setDefinition("action.data.2".getBytes());
ScheduleJob scheduleJobModified = scheduleJobManagementService.changeJobAction(scheduleJob.getId(), actionParameters);
Assert.assertNotNull(scheduleJobModified);
ScheduleAction newScheduleAction = scheduleJobModified.getAction();