assertEquals(HttpStatus.NOT_FOUND, e.getStatusCode());
}
TaskExecTO exec = taskService.execute(1L, false);
assertEquals(PropagationTaskExecStatus.SUBMITTED.name(), exec.getStatus());
ReportExecTO report = new ReportExecTO();
report.setStatus(PropagationTaskExecStatus.SUCCESS.name());
report.setMessage("OK");
taskService.report(exec.getId(), report);
exec = taskService.readExecution(exec.getId());
assertEquals(PropagationTaskExecStatus.SUCCESS.name(), exec.getStatus());
assertEquals("OK", exec.getMessage());