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

  StatusRuntimeException exception = new StatusRuntimeException(Status.INVALID_ARGUMENT);
  mockCustomerManagerLinkService.addException(exception);
  try {
    CustomerManagerLinkName resourceName =
        CustomerManagerLinkName.of("[CUSTOMER]", "[CUSTOMER_MANAGER_LINK]");
    client.getCustomerManagerLink(resourceName);
    Assert.fail("No exception raised");
  } catch (InvalidArgumentException e) {
    // Expected exception
  }
}