@Test public void preRegCheckV1() throws XRoadServiceConsumptionException { PreRegCheck preRegCheck = PreRegCheck.Factory.newInstance(); PreRegCheckRequestItemType itemType = preRegCheck.addNewItem(); ArisApplicationType applicationType = itemType.addNewApplication(); applicationType.setArisId(arisId); applicationType.setApplicantEmail("test.wsdl@test.wsdl.ee"); applicationType.setApplicantPhone("12335465"); List<PreRegCheckResponseItemType> itemList = emtav6xTeeServiceImpl.preRegCheckV1(preRegCheck); Assert.assertEquals(arisId, itemList.get(0).getArisId()); }
@Override public List<PreRegCheckResponseItemType> preRegCheckV1(PreRegCheck preRegCheck) throws XRoadServiceConsumptionException { return emtaV6XRoadDatabase.preRegCheckV1(preRegCheck).getItemList(); }
EmtaV6XRoadServiceImpl extends XRoadDatabaseService implements EmtaV6XRoadService { @Override public List<PreRegCheckResponseItemType> preRegCheckV1(PreRegCheck preRegCheck) throws XRoadServiceConsumptionException { return emtaV6XRoadDatabase.preRegCheckV1(preRegCheck).getItemList(); } }
EmtaV6XRoadServiceImpl extends XRoadDatabaseService implements EmtaV6XRoadService { @Override public List<PreRegCheckResponseItemType> preRegCheckV1(PreRegCheck preRegCheck) throws XRoadServiceConsumptionException { return emtaV6XRoadDatabase.preRegCheckV1(preRegCheck).getItemList(); }  }
EmtaV6XRoadServiceImpl extends XRoadDatabaseService implements EmtaV6XRoadService { @Override public List<PreRegCheckResponseItemType> preRegCheckV1(PreRegCheck preRegCheck) throws XRoadServiceConsumptionException { return emtaV6XRoadDatabase.preRegCheckV1(preRegCheck).getItemList(); }  @Override List<PreRegCheckResponseItemType> preRegCheckV1(PreRegCheck preRegCheck); }
EmtaV6XRoadServiceImpl extends XRoadDatabaseService implements EmtaV6XRoadService { @Override public List<PreRegCheckResponseItemType> preRegCheckV1(PreRegCheck preRegCheck) throws XRoadServiceConsumptionException { return emtaV6XRoadDatabase.preRegCheckV1(preRegCheck).getItemList(); }  @Override List<PreRegCheckResponseItemType> preRegCheckV1(PreRegCheck preRegCheck);  }