@Test
public void testLog() {

    DynamoDBCertRecordStore store = new DynamoDBCertRecordStore(dbClient, "Athenz-ZTS-Table", "Athenz-ZTS-Current-Time-Index", null);
    File file = new File("src/test/resources/cert_log.pem");
    String pem = null;
    try {
        pem = new String(Files.readAllBytes(file.toPath()));
    } catch (IOException ex) {
        fail();
    }
    X509Certificate cert = Crypto.loadX509Certificate(pem);
    Principal principal = SimplePrincipal.create("user", "joe", "creds");
    // make sure no exceptions are thrown when processing log request
    store.log(principal, "10.11.12.13", "athens.provider", "1234", cert);
}