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

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