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

  ThirdPartyAppAnalyticsLinkName resourceName =
      ThirdPartyAppAnalyticsLinkName.of("[CUSTOMER]", "[THIRD_PARTY_APP_ANALYTICS_LINK]");
  ThirdPartyAppAnalyticsLink expectedResponse =
      ThirdPartyAppAnalyticsLink.newBuilder().setResourceName(resourceName.toString()).build();
  mockThirdPartyAppAnalyticsLinkService.addResponse(expectedResponse);
  GetThirdPartyAppAnalyticsLinkRequest request =
      GetThirdPartyAppAnalyticsLinkRequest.newBuilder().build();
  ThirdPartyAppAnalyticsLink actualResponse = client.getThirdPartyAppAnalyticsLink(request);
  Assert.assertEquals(expectedResponse, actualResponse);
  List<AbstractMessage> actualRequests = mockThirdPartyAppAnalyticsLinkService.getRequests();
  Assert.assertEquals(1, actualRequests.size());
  GetThirdPartyAppAnalyticsLinkRequest actualRequest =
      (GetThirdPartyAppAnalyticsLinkRequest) actualRequests.get(0);
  Assert.assertTrue(
      channelProvider.isHeaderSent(
          ApiClientHeaderProvider.getDefaultApiClientHeaderKey(),
          GaxGrpcProperties.getDefaultApiClientHeaderPattern()));
}