worker.setFirstName("Name " + UUID.randomUUID());
worker.setSurname("Surname " + UUID.randomUUID());
worker.setNif("ID " + UUID.randomUUID());
worker.setUser(user);
workerDAO.save(worker);
worker.dontPoseAsTransientObjectAnymore();
return worker;
}
});
}