public void testFinalizeBatch() throws Exception {
Clusters clustersMock = createMock(Clusters.class);
Cluster clusterMock = createMock(Cluster.class);
Configuration configurationMock = createNiceMock(Configuration.class);
ExecutionScheduler executionSchedulerMock = createMock(ExecutionScheduler.class);
InternalTokenStorage tokenStorageMock = createMock(InternalTokenStorage.class);
ActionDBAccessor actionDBAccessorMock = createMock(ActionDBAccessor.class);
Gson gson = new Gson();
RequestExecution requestExecutionMock = createMock(RequestExecution.class);
Batch batchMock = createMock(Batch.class);
JobDetail jobDetailMock = createMock(JobDetail.class);