/** @see org.kuali.rice.ken.dao.BusinessObjectPersistenceTestCaseBase#validateChanges() */
  @Override
  protected boolean validateChanges() {
    retrieve(); // retrieve fresh again

    boolean success = true;

    success &= type1.getDescription().equals(updatedDescriptions[0]);

    return success;
  }
  /** @see org.kuali.rice.ken.dao.BusinessObjectPersistenceTestCaseBase#update() */
  @Override
  protected boolean update() {
    type1.setDescription(updatedDescriptions[0]);

    try {
      businessObjectDao.save(type1);
    } catch (Exception e) {
      return false;
    }
    return true;
  }
  /** @see org.kuali.rice.ken.dao.BusinessObjectPersistenceTestCaseBase#retrieve() */
  @Override
  protected boolean retrieve() {
    type1 = new NotificationContentTypeBo();

    HashMap criteria = new HashMap();

    criteria.put(NotificationConstants.BO_PROPERTY_NAMES.NAME, mockType1.getName());
    type1 =
        (NotificationContentTypeBo)
            (businessObjectDao.findMatching(NotificationContentTypeBo.class, criteria))
                .iterator()
                .next();

    criteria.clear();

    boolean success = true;

    success &= type1 != null;
    success &= type1.getDescription().equals(mockType1.getDescription());
    success &= type1.getXsd().equals(mockType1.getXsd());
    success &= type1.getXsl().equals(mockType1.getXsl());

    return success;
  }