### Question:
PreliminaryCaseServiceImpl implements PreliminaryCaseService { public CommonResult clearPatientCase(Integer caseId) { if(caseId == null) return CommonResult.fail(ResultCode.E_801); int count = 0; int curStatus = patientCaseMapper.getPatientCaseStatus(caseId); if (2 == curStatus){ count = patientCaseMapper.updatePatientCase(caseId, " ", " ", " ", " ", " "," ", " ",1); if(count <= 0) return CommonResult.fail(ResultCode.E_802); List<String> diseaseIcdCodes = diagnoseMapper.listDiseaseIcdCodesByCaseId(caseId); for(String diseaseIcdCode : diseaseIcdCodes) { count = diagnoseMapper.deleteByCaseIdAndDiseaseIcdCode(caseId, diseaseIcdCode); } } else if(1 != curStatus) { return CommonResult.fail(ResultCode.E_804); } return CommonResult.success(count); }  @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 testClearPatientCase() throws Exception { }