@After
  public void cleanup() {
    File[] files = tempDir.listFiles();
    if (files != null) {
      for (File file : files) {
        assertTrue("The file [" + file.getAbsolutePath() + "] could not be deleted", file.delete());
      }
    }
    assertTrue("The directory [" + tempDir.getAbsolutePath() + "] could not be deleted", tempDir.delete());
    validateMockitoUsage();
  }
Deletes the temporary directory that was created.
ambry-store/src/test/java/com/github/ambry/store/LogSegmentTest.java