### Question:
BaseEntityService extends BaseService implements IBaseEntityService<T> { @Override public void deleteEntity(T entity) throws ServiceException { super.delete(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 testDeleteEntity() throws ServiceException { String userId = null; for (TTestUser testUser : userMap.values()) { userId = testUser.getId(); baseEntityService.deleteEntity(testUser); userMap.remove(userId); break; } assertNull("删除id为：" + userId + "的对象失败！", baseEntityService.findEntity(TTestUser.class, userId)); }