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

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