@Test public void testGetDrugGroupByUuidShouldReturnDrugGroup() { String uuid = "68547121-1b70-465e-99ee-c9dfd95e7d30"; String result = s.getDrugGroupByUuid(uuid).getName(); assertEquals("TestDrugGroup2", result); }
@Override public DrugGroup getDrugGroupByUuid(String uuid) { return dao.getDrugGroupByUuid(uuid); }
DrugGroupServiceImpl implements DrugGroupService { @Override public DrugGroup getDrugGroupByUuid(String uuid) { return dao.getDrugGroupByUuid(uuid); } }
DrugGroupServiceImpl implements DrugGroupService { @Override public DrugGroup getDrugGroupByUuid(String uuid) { return dao.getDrugGroupByUuid(uuid); }  }
DrugGroupServiceImpl implements DrugGroupService { @Override public DrugGroup getDrugGroupByUuid(String uuid) { return dao.getDrugGroupByUuid(uuid); }  @Override void setDrugGroupDAO(DrugGroupDAO dao); @Override DrugGroup saveDrugGroup(DrugGroup drugGroup); @Override DrugGroup getDrugGroup(Integer id); @Override List<DrugGroup> getDrugGroupByName(String name); @Override DrugGroup getDrugGroupByUuid(String uuid); @Override List<DrugGroup> getAllDrugGroup(boolean includeRetired); @Override DrugGroup updateDrugGroup(DrugGroup drugGroup); @Override void deleteDrugGroup(DrugGroup drugGroup); @Override void onStartup(); @Override void onShutdown(); }
DrugGroupServiceImpl implements DrugGroupService { @Override public DrugGroup getDrugGroupByUuid(String uuid) { return dao.getDrugGroupByUuid(uuid); }  @Override void setDrugGroupDAO(DrugGroupDAO dao); @Override DrugGroup saveDrugGroup(DrugGroup drugGroup); @Override DrugGroup getDrugGroup(Integer id); @Override List<DrugGroup> getDrugGroupByName(String name); @Override DrugGroup getDrugGroupByUuid(String uuid); @Override List<DrugGroup> getAllDrugGroup(boolean includeRetired); @Override DrugGroup updateDrugGroup(DrugGroup drugGroup); @Override void deleteDrugGroup(DrugGroup drugGroup); @Override void onStartup(); @Override void onShutdown();  }