### Question:
PreliminaryCaseServiceImpl implements PreliminaryCaseService { @Override public CommonResult listPatients(Integer doctorRoleId){ JSONObject returnObject = new JSONObject(); List<HashMap> patients = patientCaseMapper.listWaitingPatients(doctorRoleId); for(HashMap patient : patients) { int age = getAgeByBirth((Date)patient.get("birthday")); patient.put("age", age); } returnObject.put("waitingPatients", patients); patients = patientCaseMapper.listWaitedPatients(doctorRoleId); for(HashMap patient : patients) { int age = getAgeByBirth((Date)patient.get("birthday")); patient.put("age", age); } returnObject.put("diagnosedPatients", patients); return CommonResult.success(returnObject); }  @Override CommonResult listPatients(Integer doctorRoleId); @Override CommonResult getPatientCaseInfo(Integer doctorRoleId, Integer caseId); CommonResult finalDiagnose(PatientCaseParam patientCaseParam); @Override CommonResult savePresentPatientCase(PatientCaseParam patientCaseParam); @Override CommonResult submitPresentPatientCase(PatientCaseParam patientCaseParam); CommonResult savePatientCase(PatientCaseParam patientCaseParam, int status, Boolean isFirstDiagnosed); CommonResult clearPatientCase(Integer caseId); CommonResult listFinalDiagnose(Integer caseId); @Override CommonResult finishDiagnose(Integer caseId); int getAgeByBirth(Date birthDay);  }### Answer:
@Test public void testListPatients() throws Exception { }