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

  ListMerchantCenterLinksResponse expectedResponse =
      ListMerchantCenterLinksResponse.newBuilder().build();
  mockMerchantCenterLinkService.addResponse(expectedResponse);
  String customerId = "customerId-1772061412";
  ListMerchantCenterLinksResponse actualResponse = client.listMerchantCenterLinks(customerId);
  Assert.assertEquals(expectedResponse, actualResponse);
  List<AbstractMessage> actualRequests = mockMerchantCenterLinkService.getRequests();
  Assert.assertEquals(1, actualRequests.size());
  ListMerchantCenterLinksRequest actualRequest =
      (ListMerchantCenterLinksRequest) actualRequests.get(0);
  Assert.assertEquals(customerId, actualRequest.getCustomerId());
  Assert.assertTrue(
      channelProvider.isHeaderSent(
          ApiClientHeaderProvider.getDefaultApiClientHeaderKey(),
          GaxGrpcProperties.getDefaultApiClientHeaderPattern()));
}