@Test
public void testSignedWithIncompleteCoverage() throws Exception {
this.runInterceptorAndValidate(
"signed_x509_issuer_serial_missing_signed_header.xml",
this.getPrefixes(),
Arrays.asList(new XPathExpression(
"//ser:Header", CoverageType.SIGNED, CoverageScope.ELEMENT)),
false);
// This is mostly testing that things work with no prefixes.
this.runInterceptorAndValidate(
"signed_x509_issuer_serial_missing_signed_header.xml",
null,
Arrays.asList(new XPathExpression(
"//*", CoverageType.SIGNED, CoverageScope.ELEMENT)),
false);
// This is mostly testing that things work with no expressions.
this.runInterceptorAndValidate(