@Test
@SuppressWarnings("all")
public void getCustomerClientLinkExceptionTest() throws Exception {

  StatusRuntimeException exception = new StatusRuntimeException(Status.INVALID_ARGUMENT);
  mockCustomerClientLinkService.addException(exception);
  try {
    CustomerClientLinkName resourceName =
        CustomerClientLinkName.of("[CUSTOMER]", "[CUSTOMER_CLIENT_LINK]");
    client.getCustomerClientLink(resourceName);
    Assert.fail("No exception raised");
  } catch (InvalidArgumentException e) {
    // Expected exception
  }
}