### Question:
PatientInfoServiceImpl implements PatientInfoService { @Override public CommonResult listRegistrationsByPatientId(Integer patientId) { List<HashMap> registrations = registrationMapper.listRegistrationsByPatientId(patientId); return CommonResult.success(registrations); }  @Override CommonResult getPatientInfo(Integer id); @Override CommonResult listRegistrationsByPatientId(Integer patientId); @Override CommonResult getPatientResultInfo(Integer caseId); @Override CommonResult getWaitingAmountById(Integer patientId);  }### Answer:
@Test public void testListRegistrationsByPatientId() throws Exception { }