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

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