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

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