### Question:
CourseDAOMemory implements CourseDAO { @Override public void save(Course course) { delete(course.getId()); course.setId(nextId()); courseList.add(course); } CourseDAOMemory(); @Override Course find(int courseId); @Override void save(Course course); @Override void delete(int courseId); @Override List<Course> findAll(); @Override int nextId();  }### Answer:
@Test public void save() { Course course = new Course("TEST", "TEST", 1, 1); daoMemory.save(course); List<Course> all = daoMemory.findAll(); assertTrue(all.contains(course)); }