@Test public void notParseable() { LOTLParsingTask task = new LOTLParsingTask(LOTL_NOT_PARSEABLE, new LOTLSource()); DSSException exception = assertThrows(DSSException.class, () -> task.get()); assertTrue(exception.getMessage().contains("Unable to parse binaries")); }
@Override public LOTLParsingResult get() { LOTLParsingResult result = new LOTLParsingResult(); TrustStatusListType jaxbObject = getJAXBObject(); parseSchemeInformation(result, jaxbObject.getSchemeInformation()); return result; }
LOTLParsingTask extends AbstractParsingTask implements Supplier<LOTLParsingResult> { @Override public LOTLParsingResult get() { LOTLParsingResult result = new LOTLParsingResult(); TrustStatusListType jaxbObject = getJAXBObject(); parseSchemeInformation(result, jaxbObject.getSchemeInformation()); return result; } }
LOTLParsingTask extends AbstractParsingTask implements Supplier<LOTLParsingResult> { @Override public LOTLParsingResult get() { LOTLParsingResult result = new LOTLParsingResult(); TrustStatusListType jaxbObject = getJAXBObject(); parseSchemeInformation(result, jaxbObject.getSchemeInformation()); return result; } LOTLParsingTask(DSSDocument document, LOTLSource lotlSource); }
LOTLParsingTask extends AbstractParsingTask implements Supplier<LOTLParsingResult> { @Override public LOTLParsingResult get() { LOTLParsingResult result = new LOTLParsingResult(); TrustStatusListType jaxbObject = getJAXBObject(); parseSchemeInformation(result, jaxbObject.getSchemeInformation()); return result; } LOTLParsingTask(DSSDocument document, LOTLSource lotlSource); @Override LOTLParsingResult get(); }
LOTLParsingTask extends AbstractParsingTask implements Supplier<LOTLParsingResult> { @Override public LOTLParsingResult get() { LOTLParsingResult result = new LOTLParsingResult(); TrustStatusListType jaxbObject = getJAXBObject(); parseSchemeInformation(result, jaxbObject.getSchemeInformation()); return result; } LOTLParsingTask(DSSDocument document, LOTLSource lotlSource); @Override LOTLParsingResult get();  }