@Test public void testEmptyOtherId4HrOtherIdList() { HrOtherIdList list = new HrOtherIdList(); OtherId original = new OtherId(); list.add(original); List<StaffIdentificationCode> result = converter.convert(list); Assert.assertEquals(1, result.size()); StaffIdentificationCode it = result.get(0); Assert.assertEquals(original.getValue(), it.getID()); Assert.assertEquals("Other", it.getIdentificationSystem()); }
public List<StaffIdentificationCode> convert(HrOtherIdList hrOtherIdList) { if (hrOtherIdList == null) { return null; } return toSliStaffIdentificationCodeList(hrOtherIdList.getOtherIds()); }
HrOtherIdListConverter { public List<StaffIdentificationCode> convert(HrOtherIdList hrOtherIdList) { if (hrOtherIdList == null) { return null; } return toSliStaffIdentificationCodeList(hrOtherIdList.getOtherIds()); } }
HrOtherIdListConverter { public List<StaffIdentificationCode> convert(HrOtherIdList hrOtherIdList) { if (hrOtherIdList == null) { return null; } return toSliStaffIdentificationCodeList(hrOtherIdList.getOtherIds()); }  }
HrOtherIdListConverter { public List<StaffIdentificationCode> convert(HrOtherIdList hrOtherIdList) { if (hrOtherIdList == null) { return null; } return toSliStaffIdentificationCodeList(hrOtherIdList.getOtherIds()); }  List<StaffIdentificationCode> convert(HrOtherIdList hrOtherIdList); List<StaffIdentificationCode> convert(OtherIdList otherIdList); }
HrOtherIdListConverter { public List<StaffIdentificationCode> convert(HrOtherIdList hrOtherIdList) { if (hrOtherIdList == null) { return null; } return toSliStaffIdentificationCodeList(hrOtherIdList.getOtherIds()); }  List<StaffIdentificationCode> convert(HrOtherIdList hrOtherIdList); List<StaffIdentificationCode> convert(OtherIdList otherIdList);  }