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

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