DynamoDBCertRecordStoreConnection implements CertRecordStoreConnection { @Override public int deleteExpiredX509CertRecords(int expiryTimeMins) { return 0; } DynamoDBCertRecordStoreConnection(DynamoDB dynamoDB, final String tableName, String indexName); @Override void setOperationTimeout(int queryTimeout); @Override void close(); @Override X509CertRecord getX509CertRecord(String provider, String instanceId, String service); @Override boolean updateX509CertRecord(X509CertRecord certRecord); @Override boolean insertX509CertRecord(X509CertRecord certRecord); @Override boolean deleteX509CertRecord(String provider, String instanceId, String service); @Override int deleteExpiredX509CertRecords(int expiryTimeMins); @Override List<X509CertRecord> updateUnrefreshedCertificatesNotificationTimestamp(String lastNotifiedServer,
                                                                      long lastNotifiedTime,
                                                                      String provider);  }
@Test public void testdeleteExpiredX509CertRecords() { DynamoDBCertRecordStoreConnection dbConn = getDBConnection(); assertEquals(0, dbConn.deleteExpiredX509CertRecords(100)); assertEquals(0, dbConn.deleteExpiredX509CertRecords(100000)); dbConn.close(); }