@Test
@InSequence(1)
public void user_should_be_created_with_one_task_attached() throws Exception {
// given
User user = new User("New user");
Task task = new Task("New task");
// when
em.persist(user);
taskDao.createTask(user, task);
List<Task> userTasks = em.createQuery("SELECT t FROM Task t WHERE t.owner = :owner", Task.class)