InstanceTaskServiceImpl implements InstanceTaskService { public int cleanHistory(Date minKeepTime) { return instanceTaskDao.cleanHistory(minKeepTime); }  @Override int[] batchInsert(List<InstanceTaskDB> entityList); int cleanHistory(Date minKeepTime); @Override List<InstanceTaskDB> getByQuery(InstanceTaskQuery query); @Override InstanceTaskDB getById(String instanceFlowId, Integer fileId);  }
@Test public void testCleanHistory(){ instanceTaskService.cleanHistory(new Date()); }