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

  MutateCustomerResponse expectedResponse = MutateCustomerResponse.newBuilder().build();
  mockCustomerService.addResponse(expectedResponse);
  String customerId = "customerId-1772061412";
  CustomerOperation operation = CustomerOperation.newBuilder().build();
  MutateCustomerResponse actualResponse = client.mutateCustomer(customerId, operation);
  Assert.assertEquals(expectedResponse, actualResponse);
  List<AbstractMessage> actualRequests = mockCustomerService.getRequests();
  Assert.assertEquals(1, actualRequests.size());
  MutateCustomerRequest actualRequest = (MutateCustomerRequest) actualRequests.get(0);
  Assert.assertEquals(customerId, actualRequest.getCustomerId());
  Assert.assertEquals(operation, actualRequest.getOperation());
  Assert.assertTrue(
      channelProvider.isHeaderSent(
          ApiClientHeaderProvider.getDefaultApiClientHeaderKey(),
          GaxGrpcProperties.getDefaultApiClientHeaderPattern()));
}