@Test public void signatureFormWithDDOCPrefixNotInTheBeginningReturnsNa() { assertEquals(NA, resolveContainerType(reportWithSignatureForm("b" + DDOC_SIGNATURE_FORM_PREFIX))); assertEquals(NA, resolveContainerType(reportWithSignatureForm("b" + DDOC_SIGNATURE_FORM_PREFIX + "s"))); }
static String resolveContainerType(ValidationConclusion validationConclusion) { return isPades(validationConclusion.getSignatures()) ? PADES_CONTAINER_TYPE : resolveContainerTypeFromSignatureForm(validationConclusion.getSignatureForm()); }
ContainerTypeResolver { static String resolveContainerType(ValidationConclusion validationConclusion) { return isPades(validationConclusion.getSignatures()) ? PADES_CONTAINER_TYPE : resolveContainerTypeFromSignatureForm(validationConclusion.getSignatureForm()); } }
ContainerTypeResolver { static String resolveContainerType(ValidationConclusion validationConclusion) { return isPades(validationConclusion.getSignatures()) ? PADES_CONTAINER_TYPE : resolveContainerTypeFromSignatureForm(validationConclusion.getSignatureForm()); }  }
ContainerTypeResolver { static String resolveContainerType(ValidationConclusion validationConclusion) { return isPades(validationConclusion.getSignatures()) ? PADES_CONTAINER_TYPE : resolveContainerTypeFromSignatureForm(validationConclusion.getSignatureForm()); }   }
ContainerTypeResolver { static String resolveContainerType(ValidationConclusion validationConclusion) { return isPades(validationConclusion.getSignatures()) ? PADES_CONTAINER_TYPE : resolveContainerTypeFromSignatureForm(validationConclusion.getSignatureForm()); }    }