@Test public void signaturePolicyRemainsUnchanged() throws IOException, URISyntaxException { SoapHashcodeValidationRequest validationRequest = mockValidValidationRequest(); ProxyHashcodeDataSet proxyDocument = transformer.transform(validationRequest); assertEquals(proxyDocument.getSignaturePolicy(), proxyDocument.getSignaturePolicy()); }
public ProxyHashcodeDataSet transform(SoapHashcodeValidationRequest validationRequest) { ProxyHashcodeDataSet proxyHashcodeDataSet = new ProxyHashcodeDataSet(); setReportType(validationRequest, proxyHashcodeDataSet); proxyHashcodeDataSet.setSignaturePolicy(validationRequest.getSignaturePolicy()); proxyHashcodeDataSet.setSignatureFiles(mapSignatureFiles(validationRequest.getSignatureFiles().getSignatureFile())); return proxyHashcodeDataSet; }
SoapHashcodeValidationRequestToProxyDocumentTransformer { public ProxyHashcodeDataSet transform(SoapHashcodeValidationRequest validationRequest) { ProxyHashcodeDataSet proxyHashcodeDataSet = new ProxyHashcodeDataSet(); setReportType(validationRequest, proxyHashcodeDataSet); proxyHashcodeDataSet.setSignaturePolicy(validationRequest.getSignaturePolicy()); proxyHashcodeDataSet.setSignatureFiles(mapSignatureFiles(validationRequest.getSignatureFiles().getSignatureFile())); return proxyHashcodeDataSet; } }
SoapHashcodeValidationRequestToProxyDocumentTransformer { public ProxyHashcodeDataSet transform(SoapHashcodeValidationRequest validationRequest) { ProxyHashcodeDataSet proxyHashcodeDataSet = new ProxyHashcodeDataSet(); setReportType(validationRequest, proxyHashcodeDataSet); proxyHashcodeDataSet.setSignaturePolicy(validationRequest.getSignaturePolicy()); proxyHashcodeDataSet.setSignatureFiles(mapSignatureFiles(validationRequest.getSignatureFiles().getSignatureFile())); return proxyHashcodeDataSet; }  }
SoapHashcodeValidationRequestToProxyDocumentTransformer { public ProxyHashcodeDataSet transform(SoapHashcodeValidationRequest validationRequest) { ProxyHashcodeDataSet proxyHashcodeDataSet = new ProxyHashcodeDataSet(); setReportType(validationRequest, proxyHashcodeDataSet); proxyHashcodeDataSet.setSignaturePolicy(validationRequest.getSignaturePolicy()); proxyHashcodeDataSet.setSignatureFiles(mapSignatureFiles(validationRequest.getSignatureFiles().getSignatureFile())); return proxyHashcodeDataSet; }  ProxyHashcodeDataSet transform(SoapHashcodeValidationRequest validationRequest); }
SoapHashcodeValidationRequestToProxyDocumentTransformer { public ProxyHashcodeDataSet transform(SoapHashcodeValidationRequest validationRequest) { ProxyHashcodeDataSet proxyHashcodeDataSet = new ProxyHashcodeDataSet(); setReportType(validationRequest, proxyHashcodeDataSet); proxyHashcodeDataSet.setSignaturePolicy(validationRequest.getSignaturePolicy()); proxyHashcodeDataSet.setSignatureFiles(mapSignatureFiles(validationRequest.getSignatureFiles().getSignatureFile())); return proxyHashcodeDataSet; }  ProxyHashcodeDataSet transform(SoapHashcodeValidationRequest validationRequest);  }