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

  MutateFeedItemTargetsResponse expectedResponse =
      MutateFeedItemTargetsResponse.newBuilder().build();
  mockFeedItemTargetService.addResponse(expectedResponse);
  String customerId = "customerId-1772061412";
  List<FeedItemTargetOperation> operations = new ArrayList<>();
  MutateFeedItemTargetsResponse actualResponse =
      client.mutateFeedItemTargets(customerId, operations);
  Assert.assertEquals(expectedResponse, actualResponse);
  List<AbstractMessage> actualRequests = mockFeedItemTargetService.getRequests();
  Assert.assertEquals(1, actualRequests.size());
  MutateFeedItemTargetsRequest actualRequest =
      (MutateFeedItemTargetsRequest) actualRequests.get(0);
  Assert.assertEquals(customerId, actualRequest.getCustomerId());
  Assert.assertEquals(operations, actualRequest.getOperationsList());
  Assert.assertTrue(
      channelProvider.isHeaderSent(
          ApiClientHeaderProvider.getDefaultApiClientHeaderKey(),
          GaxGrpcProperties.getDefaultApiClientHeaderPattern()));
}