AlwaysFailingCRLSource implements CRLSource { @Override public CRLToken getRevocationToken(CertificateToken certificateToken, CertificateToken issuerCertificateToken) { return null; }  @Override CRLToken getRevocationToken(CertificateToken certificateToken, CertificateToken issuerCertificateToken);  }
@Test public void alwaysFailingCRLSourceShouldNotFindCRL() { CRLSource crlSource = new AlwaysFailingCRLSource(); assertNull(crlSource.getRevocationToken(null, null)); }