@Test
@SuppressWarnings("all")
public void addBatchJobOperationsTest2() {

  long totalOperations = 1685086151L;
  String nextSequenceToken = "nextSequenceToken388644551";
  AddBatchJobOperationsResponse expectedResponse =
      AddBatchJobOperationsResponse.newBuilder()
          .setTotalOperations(totalOperations)
          .setNextSequenceToken(nextSequenceToken)
          .build();
  mockBatchJobService.addResponse(expectedResponse);
  BatchJobName resourceName = BatchJobName.of("[CUSTOMER]", "[BATCH_JOB]");
  List<MutateOperation> mutateOperations = new ArrayList<>();
  AddBatchJobOperationsResponse actualResponse =
      client.addBatchJobOperations(resourceName, mutateOperations);
  Assert.assertEquals(expectedResponse, actualResponse);
  List<AbstractMessage> actualRequests = mockBatchJobService.getRequests();
  Assert.assertEquals(1, actualRequests.size());
  AddBatchJobOperationsRequest actualRequest =
      (AddBatchJobOperationsRequest) actualRequests.get(0);
  Assert.assertEquals(resourceName, BatchJobName.parse(actualRequest.getResourceName()));
  Assert.assertEquals(mutateOperations, actualRequest.getMutateOperationsList());
  Assert.assertTrue(
      channelProvider.isHeaderSent(
          ApiClientHeaderProvider.getDefaultApiClientHeaderKey(),
          GaxGrpcProperties.getDefaultApiClientHeaderPattern()));
}