S3ChangeLogStore implements ChangeLogStore { @Override public void setLastModificationTimestamp(String newLastModTime) { if (newLastModTime == null) { lastModTime = 0; } else { lastModTime = Long.parseLong(newLastModTime); } } S3ChangeLogStore();  S3ChangeLogStore(String awsRegion); @Override boolean supportsFullRefresh(); @Override SignedDomain getLocalSignedDomain(String domainName); @SuppressWarnings("EmptyMethod") @Override void removeLocalDomain(String domainName); @SuppressWarnings("EmptyMethod") @Override void saveLocalDomain(String domainName, SignedDomain signedDomain); @Override List<String> getLocalDomainList(); boolean getAllSignedDomains(List<String> domains); @Override Set<String> getServerDomainList(); @Override SignedDomains getServerDomainModifiedList(); @Override SignedDomain getServerSignedDomain(String domainName); @Override SignedDomains getUpdatedSignedDomains(StringBuilder lastModTimeBuffer); @Override void setLastModificationTimestamp(String newLastModTime); ExecutorService getExecutorService();  }
@Test public void testSetLastModificationTimestamp() { S3ChangeLogStore store = new S3ChangeLogStore(); assertEquals(store.lastModTime, 0); store.setLastModificationTimestamp("12345"); assertEquals(store.lastModTime, 12345); store.setLastModificationTimestamp(null); assertEquals(store.lastModTime, 0); }