@Test
public void testCommitTask() throws IOException {

  committer.commitTask(mockTaskAttemptContext);
  // Verify the delegate is being called.
  verify(mockCommitter).commitTask(eq(mockTaskAttemptContext));
}