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

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