### Question:
HistoryHandler { public List<HistoricProcessInstance> getAllHistoryProcessInstance(){ List<HistoricProcessInstance> list = historyService .createHistoricProcessInstanceQuery() .list(); logger.info("[查询历史全部流程实例] 共 " + list.size() + " 条记录"); return list; }  List<HistoricProcessInstance> getAllHistoryProcessInstance(); HistoricProcessInstance getHistoryProcessInstanceByProcessInstanceID(String processInstanceID); List<HistoricTaskInstance> getAllHistoryTask(); List<HistoricTaskInstance> getHistoryTaskByUserID(String userID);  }### Answer:
@Test public void getAllHistoryProcessInstance() { List<HistoricProcessInstance> list = hh.getAllHistoryProcessInstance(); for (HistoricProcessInstance hpi : list) { logger.info("-----------------------"); logger.info("ProcessInstance ID: " + hpi.getId()); logger.info("ProcessDefinitionHandler ID: " + hpi.getProcessDefinitionId()); logger.info("StartTime: " + hpi.getStartTime()); logger.info("EndTime: " + hpi.getEndTime()); logger.info("DurationInMillis: " + hpi.getDurationInMillis()); } }