@Test public void populatesSignatureProductionPlace() throws IOException, URISyntaxException { Reports reports = validationService.validate(getValidationDocumentSingletonList("test-files/signatures_with_sig_production_place.xml")); SignatureProductionPlace signatureProductionPlace = reports.getSimpleReport().getValidationConclusion() .getSignatures().get(0).getInfo().getSignatureProductionPlace(); assertEquals("Tallinn", signatureProductionPlace.getCity()); assertEquals("Harjumaa", signatureProductionPlace.getStateOrProvince()); assertEquals("12345", signatureProductionPlace.getPostalCode()); assertEquals("Eesti", signatureProductionPlace.getCountryName()); }
public Reports validate(List<ValidationDocument> validationDocuments) { List<Reports> reports = validationDocuments.stream().map(validationDocument -> validateDocument(validationDocument)).collect(Collectors.toList()); return mergeReportsToOne(reports); }
HashcodeGenericValidationService extends GenericValidationService { public Reports validate(List<ValidationDocument> validationDocuments) { List<Reports> reports = validationDocuments.stream().map(validationDocument -> validateDocument(validationDocument)).collect(Collectors.toList()); return mergeReportsToOne(reports); } }
HashcodeGenericValidationService extends GenericValidationService { public Reports validate(List<ValidationDocument> validationDocuments) { List<Reports> reports = validationDocuments.stream().map(validationDocument -> validateDocument(validationDocument)).collect(Collectors.toList()); return mergeReportsToOne(reports); }  }
HashcodeGenericValidationService extends GenericValidationService { public Reports validate(List<ValidationDocument> validationDocuments) { List<Reports> reports = validationDocuments.stream().map(validationDocument -> validateDocument(validationDocument)).collect(Collectors.toList()); return mergeReportsToOne(reports); }  Reports validate(List<ValidationDocument> validationDocuments); }
HashcodeGenericValidationService extends GenericValidationService { public Reports validate(List<ValidationDocument> validationDocuments) { List<Reports> reports = validationDocuments.stream().map(validationDocument -> validateDocument(validationDocument)).collect(Collectors.toList()); return mergeReportsToOne(reports); }  Reports validate(List<ValidationDocument> validationDocuments);  }