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

  UploadClickConversionsResponse expectedResponse =
      UploadClickConversionsResponse.newBuilder().build();
  mockConversionUploadService.addResponse(expectedResponse);
  String customerId = "customerId-1772061412";
  List<ClickConversion> conversions = new ArrayList<>();
  boolean partialFailure = true;
  UploadClickConversionsResponse actualResponse =
      client.uploadClickConversions(customerId, conversions, partialFailure);
  Assert.assertEquals(expectedResponse, actualResponse);
  List<AbstractMessage> actualRequests = mockConversionUploadService.getRequests();
  Assert.assertEquals(1, actualRequests.size());
  UploadClickConversionsRequest actualRequest =
      (UploadClickConversionsRequest) actualRequests.get(0);
  Assert.assertEquals(customerId, actualRequest.getCustomerId());
  Assert.assertEquals(conversions, actualRequest.getConversionsList());
  Assert.assertEquals(partialFailure, actualRequest.getPartialFailure());
  Assert.assertTrue(
      channelProvider.isHeaderSent(
          ApiClientHeaderProvider.getDefaultApiClientHeaderKey(),
          GaxGrpcProperties.getDefaultApiClientHeaderPattern()));
}