@Test public void testGetAllDrugInfo_shouldReturnAllDrugInfoIncludingRetired() { List<DrugInfo> allDrugInfo = s.getAllDrugInfo(true); assertEquals(allDrugInfo.size(), 3); }
@Override public List<DrugInfo> getAllDrugInfo(boolean includeVoided) { return dao.getAllDrugInfo(includeVoided); }
DrugInfoServiceImpl implements DrugInfoService { @Override public List<DrugInfo> getAllDrugInfo(boolean includeVoided) { return dao.getAllDrugInfo(includeVoided); } }
DrugInfoServiceImpl implements DrugInfoService { @Override public List<DrugInfo> getAllDrugInfo(boolean includeVoided) { return dao.getAllDrugInfo(includeVoided); }  }
DrugInfoServiceImpl implements DrugInfoService { @Override public List<DrugInfo> getAllDrugInfo(boolean includeVoided) { return dao.getAllDrugInfo(includeVoided); }  @Override void setDrugInfoDAO(DrugInfoDAO dao); @Override DrugInfo saveDrugInfo(DrugInfo drugInfo); @Override DrugInfo getDrugInfo(Integer id); @Override DrugInfo getDrugInfoByUuid(String uuid); @Override DrugInfo getDrugInfoByDrugUuid(String uuid); @Override List<DrugInfo> getDrugInfosByDrugName(String name); @Override List<DrugInfo> getAllDrugInfo(boolean includeVoided); @Override DrugInfo updateDrugInfo(DrugInfo drugInfo); @Override void deleteDrugInfo(DrugInfo drugInfo); @Override void onStartup(); @Override void onShutdown(); }
DrugInfoServiceImpl implements DrugInfoService { @Override public List<DrugInfo> getAllDrugInfo(boolean includeVoided) { return dao.getAllDrugInfo(includeVoided); }  @Override void setDrugInfoDAO(DrugInfoDAO dao); @Override DrugInfo saveDrugInfo(DrugInfo drugInfo); @Override DrugInfo getDrugInfo(Integer id); @Override DrugInfo getDrugInfoByUuid(String uuid); @Override DrugInfo getDrugInfoByDrugUuid(String uuid); @Override List<DrugInfo> getDrugInfosByDrugName(String name); @Override List<DrugInfo> getAllDrugInfo(boolean includeVoided); @Override DrugInfo updateDrugInfo(DrugInfo drugInfo); @Override void deleteDrugInfo(DrugInfo drugInfo); @Override void onStartup(); @Override void onShutdown();  }