CertificateInformationExtractor { public Boolean getMustStaplev2() throws IOException, ParserException { if (mustStaplev2 == null) { mustStaplev2 = parseMustStaplev2(); } return mustStaplev2; } CertificateInformationExtractor(Certificate certificate); Certificate getCertificate(); BigInteger getSerialNumber(); byte[] getIssuerNameHash(); byte[] getIssuerKeyHash(); Boolean getMustStaple(); Boolean getMustStaplev2(); String getOcspServerUrl(); String getCertificateIssuerUrl(); Certificate retrieveIssuerCertificate();  }
@Test public void testGetMustStaplev2() throws IOException, ParserException { Boolean mustStaplev2 = certificateInformationExtractor.getMustStaplev2(); Assert.assertFalse(mustStaplev2); }