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

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