### Question:
BaseEntityService extends BaseService implements IBaseEntityService<T> { @Override public void updateEntity(T entity) throws ServiceException { super.update(entity); } BaseEntityService(); @Override BaseEntityService<T> getSubClassEntityService(Class<T> entityClass); @Override void saveEntity(T entity); @Override void saveOrUpdateEntity(T entity); @Override void updateEntity(T entity); @Override void deleteEntity(T entity); @Override T findEntity(Class<T> entityClass, Serializable id); @Override T findEntity(Serializable id);  }### Answer:
@Test public void testUpdateEntity() throws ServiceException { for (TTestUser testUser : userMap.values()) { testUser.setModifyTime(DateUtils.getStandTime()); baseEntityService.updateEntity(testUser); } }