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

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