@Test public void getById_shouldFetchCorrectObject() { ParentObjectHashcode expected = ParentObjectHashcodeMother.createInstance(OBJECT_ID); ParentObjectHashcode actual = parentObjectHashcodeService.getById(OBJECT_ID); Assert.assertEquals(expected, actual); }
@Override public ParentObjectHashcode getById(Integer id) { return parentObjectHashcodeDao.getById(id); }
ParentObjectHashcodeServiceImpl extends BaseOpenmrsService implements ParentObjectHashcodeService { @Override public ParentObjectHashcode getById(Integer id) { return parentObjectHashcodeDao.getById(id); } }
ParentObjectHashcodeServiceImpl extends BaseOpenmrsService implements ParentObjectHashcodeService { @Override public ParentObjectHashcode getById(Integer id) { return parentObjectHashcodeDao.getById(id); }  }
ParentObjectHashcodeServiceImpl extends BaseOpenmrsService implements ParentObjectHashcodeService { @Override public ParentObjectHashcode getById(Integer id) { return parentObjectHashcodeDao.getById(id); }  @Override ParentObjectHashcode getById(Integer id); @Override ParentObjectHashcode getByUuid(String uuid); @Override ParentObjectHashcode getByObjectUuid(String objectUuid); @Override ParentObjectHashcode save(ParentObjectHashcode newParentObjectHashcode); @Override ParentObjectHashcode save(String uuid, String hashCode); @Override void delete(ParentObjectHashcode parentObjectHashcode, String reason); }
ParentObjectHashcodeServiceImpl extends BaseOpenmrsService implements ParentObjectHashcodeService { @Override public ParentObjectHashcode getById(Integer id) { return parentObjectHashcodeDao.getById(id); }  @Override ParentObjectHashcode getById(Integer id); @Override ParentObjectHashcode getByUuid(String uuid); @Override ParentObjectHashcode getByObjectUuid(String objectUuid); @Override ParentObjectHashcode save(ParentObjectHashcode newParentObjectHashcode); @Override ParentObjectHashcode save(String uuid, String hashCode); @Override void delete(ParentObjectHashcode parentObjectHashcode, String reason);  }