@Test public void alwaysFailingOcspSourceShouldReturnNullInsteadOfOcspToken() throws Exception { OCSPSource ocspSource = new AlwaysFailingOCSPSource(); assertNull(ocspSource.getRevocationToken(null, null)); }
@Override public OCSPToken getRevocationToken(CertificateToken certificateToken, CertificateToken issuerCertificateToken) { return null; }
AlwaysFailingOCSPSource implements OCSPSource { @Override public OCSPToken getRevocationToken(CertificateToken certificateToken, CertificateToken issuerCertificateToken) { return null; } }
AlwaysFailingOCSPSource implements OCSPSource { @Override public OCSPToken getRevocationToken(CertificateToken certificateToken, CertificateToken issuerCertificateToken) { return null; }  }
AlwaysFailingOCSPSource implements OCSPSource { @Override public OCSPToken getRevocationToken(CertificateToken certificateToken, CertificateToken issuerCertificateToken) { return null; }  @Override OCSPToken getRevocationToken(CertificateToken certificateToken, CertificateToken issuerCertificateToken); }
AlwaysFailingOCSPSource implements OCSPSource { @Override public OCSPToken getRevocationToken(CertificateToken certificateToken, CertificateToken issuerCertificateToken) { return null; }  @Override OCSPToken getRevocationToken(CertificateToken certificateToken, CertificateToken issuerCertificateToken);  }