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

  com.google.ads.googleads.v5.services.CustomerClientName resourceName2 =
      com.google.ads.googleads.v5.services.CustomerClientName.of(
          "[CUSTOMER]", "[CUSTOMER_CLIENT]");
  CustomerClient expectedResponse =
      CustomerClient.newBuilder().setResourceName(resourceName2.toString()).build();
  mockCustomerClientService.addResponse(expectedResponse);
  CustomerClientName resourceName = CustomerClientName.of("[CUSTOMER]", "[CUSTOMER_CLIENT]");
  CustomerClient actualResponse = client.getCustomerClient(resourceName);
  Assert.assertEquals(expectedResponse, actualResponse);
  List<AbstractMessage> actualRequests = mockCustomerClientService.getRequests();
  Assert.assertEquals(1, actualRequests.size());
  GetCustomerClientRequest actualRequest = (GetCustomerClientRequest) actualRequests.get(0);
  Assert.assertEquals(resourceName, CustomerClientName.parse(actualRequest.getResourceName()));
  Assert.assertTrue(
      channelProvider.isHeaderSent(
          ApiClientHeaderProvider.getDefaultApiClientHeaderKey(),
          GaxGrpcProperties.getDefaultApiClientHeaderPattern()));
}