### Question:
TaskStore { public void add(Task task) { this.tx(session -> { session.save(task); return null; }); }  boolean delete(final int id); void add(Task task); void update(Task task); List<Task> findAll(); Task findById(int id);  }### Answer:
@Test public void add() { this.test.add(this.first); assertTrue(this.test.findAll().contains(this.first)); }