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

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