/**
* Test of getPatientListByEncounterType method, of class HibernatePatientListDAO.
*/
@Test
public void testGetPatientListByEncounterType() {
EncounterType encounterType = new EncounterType();
encounterType.setName("Registration");
encounterType.setUuid("61ae96f4-6afe-4351-b6f8-cd4fc383cce1");
encounterType.setDescription("Patient has been registered");
encounterType.setRetired(Boolean.FALSE);
String name = dao.getPatientListByEncounterType(encounterType).get(0).getName();
assertEquals("TestList1", name);
}