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

  RegenerateShareableLinkIdResponse expectedResponse =
      RegenerateShareableLinkIdResponse.newBuilder().build();
  mockThirdPartyAppAnalyticsLinkService.addResponse(expectedResponse);
  RegenerateShareableLinkIdRequest request =
      RegenerateShareableLinkIdRequest.newBuilder().build();
  RegenerateShareableLinkIdResponse actualResponse = client.regenerateShareableLinkId(request);
  Assert.assertEquals(expectedResponse, actualResponse);
  List<AbstractMessage> actualRequests = mockThirdPartyAppAnalyticsLinkService.getRequests();
  Assert.assertEquals(1, actualRequests.size());
  RegenerateShareableLinkIdRequest actualRequest =
      (RegenerateShareableLinkIdRequest) actualRequests.get(0);
  Assert.assertTrue(
      channelProvider.isHeaderSent(
          ApiClientHeaderProvider.getDefaultApiClientHeaderKey(),
          GaxGrpcProperties.getDefaultApiClientHeaderPattern()));
}