  @Test
  public void testWriteTimestampFile() throws Exception {

    LOG.info("Writing timestamp file to temporary directory for tests.");
    Long timestamp = 5684L;
    mTool.writeTimestamp(mTempDir.getRoot(), timestamp);

    LOG.info("Reading back contents of timestamp file and comparing.");
    assertEquals("timestamp read does not match timestamp that should have been written.",
        timestamp, readTimestampFile());
  }