// doReturn 不会调用真实的方法 PowerMockito.doReturn(approvalProcessModel).when(approval,"buildApprovalProcessDO",flowDO,userInfo);
// thenReturn 会执行真实的方法 PowerMockito.when(approval,"buildApprovalProcessDO",flowDO,userInfo).thenReturn(approvalProcessModel);
// 私有方法。 private ApprovalProcessModel buildApprovalProcessDO(LawsuitTaskCurrentFlowDO flowDO, HttpServletRequestUtil.UserInfo userInfo) { }