/**
  * TODO - Remove this sample unit test Test method for {@link
  * org.sakaiproject.crudplus.dao.impl.GenericHibernateDao#save(java.lang.Object)}.
  */
 public void testSave() {
   CrudPlusItem item1 =
       new CrudPlusItem("New item1", ITEM_OWNER, ITEM_SITE, ITEM_HIDDEN, new Date());
   dao.save(item1);
   Long itemId = item1.getId();
   Assert.assertNotNull(itemId);
   Assert.assertEquals(dao.countAll(CrudPlusItem.class), 3);
 }
 /**
  * TODO - Remove this sample unit test Test method for {@link
  * org.sakaiproject.crudplus.dao.impl.GenericHibernateDao#findById(java.lang.Class,
  * java.io.Serializable)}.
  */
 public void testFindById() {
   Long id = item.getId();
   Assert.assertNotNull(id);
   CrudPlusItem item1 = (CrudPlusItem) dao.findById(CrudPlusItem.class, id);
   Assert.assertNotNull(item1);
   Assert.assertEquals(item, item1);
 }