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

  String resourceName = "resourceName979421212";
  String invitationLink = "invitationLink-2091530016";
  CreateCustomerClientResponse expectedResponse =
      CreateCustomerClientResponse.newBuilder()
          .setResourceName(resourceName)
          .setInvitationLink(invitationLink)
          .build();
  mockCustomerService.addResponse(expectedResponse);
  String customerId = "customerId-1772061412";
  Customer customerClient = Customer.newBuilder().build();
  CreateCustomerClientResponse actualResponse =
      client.createCustomerClient(customerId, customerClient);
  Assert.assertEquals(expectedResponse, actualResponse);
  List<AbstractMessage> actualRequests = mockCustomerService.getRequests();
  Assert.assertEquals(1, actualRequests.size());
  CreateCustomerClientRequest actualRequest = (CreateCustomerClientRequest) actualRequests.get(0);
  Assert.assertEquals(customerId, actualRequest.getCustomerId());
  Assert.assertEquals(customerClient, actualRequest.getCustomerClient());
  Assert.assertTrue(
      channelProvider.isHeaderSent(
          ApiClientHeaderProvider.getDefaultApiClientHeaderKey(),
          GaxGrpcProperties.getDefaultApiClientHeaderPattern()));
}