@Test
public void testCleanup() throws IOException {

  // Setup the sample directory.
  generateSampleFiles();
  committer.cleanup(job);
  // Ensure files are deleted by cleanup.
  assertThat(!ghfs.exists(outputPath)).isTrue();
  assertThat(!ghfs.exists(outputSampleFilePath)).isTrue();
}