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

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