int executions = taskTO.getExecutions().size();
if (executions == 0) {
// generate an execution in order to verify the deletion of a notification task with one or more executions
TaskExecTO execution = restTemplate.postForObject(
BASE_URL + "task/execute/{taskId}", null, TaskExecTO.class, taskTO.getId());
assertEquals("NOT_SENT", execution.getStatus());
int i = 0;
int maxit = 50;
// wait for task exec completion (executions incremented)