### Question:
BaseService implements IBaseService { @Override public void update(BaseEntity obj) throws ServiceException { entityNullValidate(obj); getBaseDao().update(obj); }  @Override void save(BaseEntity obj); @Override void delete(BaseEntity obj); @Override void delete(Class<?> clazz, Serializable id); @Override void saveOrUpdate(BaseEntity obj); @Override void update(BaseEntity obj); @Override Object get(Class<?> clazz, Serializable id); @Override Object load(Class<?> clazz, Serializable id);  }### Answer:
@Test public void testUpdate() throws ServiceException { for (TTestUser testUser : userMap.values()) { testUser.setModifyTime(DateUtils.getStandTime()); baseService.update(testUser); } }