ForwardingBigQueryFileOutputCommitter extends OutputCommitter { @Override public void setupTask(TaskAttemptContext context) throws IOException { delegate.setupTask(context); } ForwardingBigQueryFileOutputCommitter(TaskAttemptContext context, OutputCommitter delegate); @Override void commitJob(JobContext context); @Override void abortJob(JobContext context, State state); @Override void abortTask(TaskAttemptContext context); @Override void commitTask(TaskAttemptContext context); @Override boolean needsTaskCommit(TaskAttemptContext context); @Override void setupJob(JobContext context); @Override void setupTask(TaskAttemptContext context);  }
@Test public void testSetupTask() throws IOException { committer.setupTask(mockTaskAttemptContext); verify(mockCommitter).setupTask(eq(mockTaskAttemptContext)); }