DynamoDBSSHRecordStoreConnection implements SSHRecordStoreConnection { @Override public int deleteExpiredSSHCertRecords(int expiryTimeMins) { return 0; } DynamoDBSSHRecordStoreConnection(DynamoDB dynamoDB, final String tableName); @Override void setOperationTimeout(int queryTimeout); @Override void close(); @Override SSHCertRecord getSSHCertRecord(String instanceId, String service); @Override boolean updateSSHCertRecord(SSHCertRecord certRecord); @Override boolean insertSSHCertRecord(SSHCertRecord certRecord); @Override boolean deleteSSHCertRecord(String instanceId, String service); @Override int deleteExpiredSSHCertRecords(int expiryTimeMins);  }
@Test public void testdeleteExpiredSSHCertRecords() { DynamoDBSSHRecordStoreConnection dbConn = new DynamoDBSSHRecordStoreConnection(dynamoDB, tableName); assertEquals(0, dbConn.deleteExpiredSSHCertRecords(100)); assertEquals(0, dbConn.deleteExpiredSSHCertRecords(100000)); dbConn.close(); }