### Question:
DiagnosisServiceImpl extends BaseOpenmrsService implements DiagnosisService { @Override public Diagnosis getDiagnosisByUuid(String uuid) { return diagnosisDAO.getDiagnosisByUuid(uuid); }  @Override Diagnosis save(Diagnosis diagnosis); @Override Diagnosis voidDiagnosis(Diagnosis diagnosis, String voidReason); @Override Diagnosis getDiagnosisByUuid(String uuid); @Override @Transactional(readOnly = true) List<Diagnosis> getDiagnoses(Patient patient, Date fromDate); @Override @Transactional(readOnly = true) List<Diagnosis> getPrimaryDiagnoses(Encounter encounter); @Override @Transactional(readOnly = true) List<Diagnosis> getUniqueDiagnoses(Patient patient, Date fromDate); @Override @Transactional(readOnly = true) Diagnosis getDiagnosis(Integer diagnosisId); @Override Diagnosis unvoidDiagnosis(Diagnosis diagnosis); @Override void purgeDiagnosis(Diagnosis diagnosis); DiagnosisDAO getDiagnosisDAO(); void setDiagnosisDAO(DiagnosisDAO diagnosisDAO);  }### Answer:
@Test public void getDiagnosisByUuid_shouldFindDiagnosisGivenValidUuid() { String uuid="68802cce-6880-17e4-6880-a68804d22fb7"; Diagnosis diagnosis = diagnosisService.getDiagnosisByUuid(uuid); Assert.assertEquals(uuid, diagnosis.getUuid()); }