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

  String resourceName = "resourceName979421212";
  MoveManagerLinkResponse expectedResponse =
      MoveManagerLinkResponse.newBuilder().setResourceName(resourceName).build();
  mockCustomerManagerLinkService.addResponse(expectedResponse);
  String customerId = "customerId-1772061412";
  String previousCustomerManagerLink = "previousCustomerManagerLink-1454597947";
  String newManager = "newManager90619918";
  MoveManagerLinkResponse actualResponse =
      client.moveManagerLink(customerId, previousCustomerManagerLink, newManager);
  Assert.assertEquals(expectedResponse, actualResponse);
  List<AbstractMessage> actualRequests = mockCustomerManagerLinkService.getRequests();
  Assert.assertEquals(1, actualRequests.size());
  MoveManagerLinkRequest actualRequest = (MoveManagerLinkRequest) actualRequests.get(0);
  Assert.assertEquals(customerId, actualRequest.getCustomerId());
  Assert.assertEquals(
      previousCustomerManagerLink, actualRequest.getPreviousCustomerManagerLink());
  Assert.assertEquals(newManager, actualRequest.getNewManager());
  Assert.assertTrue(
      channelProvider.isHeaderSent(
          ApiClientHeaderProvider.getDefaultApiClientHeaderKey(),
          GaxGrpcProperties.getDefaultApiClientHeaderPattern()));
}