@Test public void romudeOtsing() throws XRoadServiceConsumptionException { RomudeOtsingVastus response = lkfXTeeServiceImpl.romudeOtsing(START, END); Assert.assertNotNull(response); Assert.assertFalse(response.getClaimBangers().getItemList().isEmpty()); Vehicle vehicle= response.getClaimBangers().getItemList().get(0).getVehicle(); Assert.assertEquals("280BAF", vehicle.getVehicleRegNo()); Assert.assertEquals("VSSZZZ5PZ7R039967", vehicle.getVehicleVin()); }
public RomudeOtsingVastus romudeOtsing(Calendar startDate, Calendar endDate) throws XRoadServiceConsumptionException { RomudeOtsingParing paring = RomudeOtsingParing.Factory.newInstance(); paring.setStartDate(Parser.parseDateTime(startDate)); paring.setEndDate(Parser.parseDateTime(endDate)); return lkfXRoadDatabase.romudeOtsingV1(paring); }
LkfXTeeServiceImpl implements LkfXTeeService { public RomudeOtsingVastus romudeOtsing(Calendar startDate, Calendar endDate) throws XRoadServiceConsumptionException { RomudeOtsingParing paring = RomudeOtsingParing.Factory.newInstance(); paring.setStartDate(Parser.parseDateTime(startDate)); paring.setEndDate(Parser.parseDateTime(endDate)); return lkfXRoadDatabase.romudeOtsingV1(paring); } }
LkfXTeeServiceImpl implements LkfXTeeService { public RomudeOtsingVastus romudeOtsing(Calendar startDate, Calendar endDate) throws XRoadServiceConsumptionException { RomudeOtsingParing paring = RomudeOtsingParing.Factory.newInstance(); paring.setStartDate(Parser.parseDateTime(startDate)); paring.setEndDate(Parser.parseDateTime(endDate)); return lkfXRoadDatabase.romudeOtsingV1(paring); }  }
LkfXTeeServiceImpl implements LkfXTeeService { public RomudeOtsingVastus romudeOtsing(Calendar startDate, Calendar endDate) throws XRoadServiceConsumptionException { RomudeOtsingParing paring = RomudeOtsingParing.Factory.newInstance(); paring.setStartDate(Parser.parseDateTime(startDate)); paring.setEndDate(Parser.parseDateTime(endDate)); return lkfXRoadDatabase.romudeOtsingV1(paring); }  KindlustuskateVastus findKindlustuskate(String registrinumber, String tehasetahis); AadressVastus findAadress(String isikukood); RomudeOtsingVastus romudeOtsing(Calendar startDate, Calendar endDate); KindlustuskaitseOtsingVastus kindlustusKaitseOtsing(KindlustuskaitseOtsingParing paring); void setLkfXRoadDatabase(LkfXRoadDatabase lkfXRoadDatabase); }
LkfXTeeServiceImpl implements LkfXTeeService { public RomudeOtsingVastus romudeOtsing(Calendar startDate, Calendar endDate) throws XRoadServiceConsumptionException { RomudeOtsingParing paring = RomudeOtsingParing.Factory.newInstance(); paring.setStartDate(Parser.parseDateTime(startDate)); paring.setEndDate(Parser.parseDateTime(endDate)); return lkfXRoadDatabase.romudeOtsingV1(paring); }  KindlustuskateVastus findKindlustuskate(String registrinumber, String tehasetahis); AadressVastus findAadress(String isikukood); RomudeOtsingVastus romudeOtsing(Calendar startDate, Calendar endDate); KindlustuskaitseOtsingVastus kindlustusKaitseOtsing(KindlustuskaitseOtsingParing paring); void setLkfXRoadDatabase(LkfXRoadDatabase lkfXRoadDatabase);  }