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

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