### Question:
DoctorStatisticsServiceImpl implements DoctorStatisticsService { private List<HashMap> addInvoicesAndVisitsForIndividualDoctor(List<HashMap> result, List<HashMap> invoices, List<HashMap> visits){ for(HashMap r: result){ Integer roleId = Integer.valueOf(r.get("roleId").toString()); for(HashMap v: visits){ if(Integer.valueOf(v.get("id").toString()).equals(roleId)){ r.put("visits", v.get("visits")); break; } } for(HashMap i: invoices){ if(Integer.valueOf(i.get("id").toString()).equals(roleId)){ r.put("invoiceAmount", i.get("invoice_amount")); break; } } } return result; }  @Override CommonResult doctorStatistics(String beginDateStr, String endDateStr); @Override CommonResult doctorStatisticsByUserIdAndDate(String dateStr, Integer userId);  }### Answer:
@Test public void testAddInvoicesAndVisitsForIndividualDoctor() throws Exception { }