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

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