### Question:
HistoryHandler { public HistoricProcessInstance getHistoryProcessInstanceByProcessInstanceID(String processInstanceID){ HistoricProcessInstance hpi = historyService .createHistoricProcessInstanceQuery() .processInstanceId(processInstanceID) .singleResult(); logger.info("[查询历史流程实例] [processInstanceID=" + processInstanceID + "]"); return hpi; }  List<HistoricProcessInstance> getAllHistoryProcessInstance(); HistoricProcessInstance getHistoryProcessInstanceByProcessInstanceID(String processInstanceID); List<HistoricTaskInstance> getAllHistoryTask(); List<HistoricTaskInstance> getHistoryTaskByUserID(String userID);  }### Answer:
@Test public void getHistoryProcessInstanceByProcessInstanceID() { HistoricProcessInstance hpi = hh.getHistoryProcessInstanceByProcessInstanceID("10001"); 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()); }