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

  UploadConversionAdjustmentsResponse expectedResponse =
      UploadConversionAdjustmentsResponse.newBuilder().build();
  mockConversionAdjustmentUploadService.addResponse(expectedResponse);
  String customerId = "customerId-1772061412";
  List<ConversionAdjustment> conversionAdjustments = new ArrayList<>();
  boolean partialFailure = true;
  UploadConversionAdjustmentsResponse actualResponse =
      client.uploadConversionAdjustments(customerId, conversionAdjustments, partialFailure);
  Assert.assertEquals(expectedResponse, actualResponse);
  List<AbstractMessage> actualRequests = mockConversionAdjustmentUploadService.getRequests();
  Assert.assertEquals(1, actualRequests.size());
  UploadConversionAdjustmentsRequest actualRequest =
      (UploadConversionAdjustmentsRequest) actualRequests.get(0);
  Assert.assertEquals(customerId, actualRequest.getCustomerId());
  Assert.assertEquals(conversionAdjustments, actualRequest.getConversionAdjustmentsList());
  Assert.assertEquals(partialFailure, actualRequest.getPartialFailure());
  Assert.assertTrue(
      channelProvider.isHeaderSent(
          ApiClientHeaderProvider.getDefaultApiClientHeaderKey(),
          GaxGrpcProperties.getDefaultApiClientHeaderPattern()));
}