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

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