@Test
 public void itUpdatesCategory() {
   Category category = categoryDAO.find((long) 1);
   category.setName("Salads");
   categoryDAO.update(category);
   assertEquals("Salads", categoryDAO.find((long) 1).getName());
 }
 @Test
 public void itAddsNewCategories() {
   Category category = new Category();
   category.setName("Salads");
   categoryDAO.create(category);
   assertEquals("Salads", categoryDAO.find((long) 3).getName());
 }
 @Test
 public void itDeletesCategory() {
   Category category = categoryDAO.find((long) 1);
   categoryDAO.delete(category);
   assertNull(categoryDAO.find((long) 1));
 }