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

  StatusRuntimeException exception = new StatusRuntimeException(Status.INVALID_ARGUMENT);
  mockSharedSetService.addException(exception);
  try {
    SharedSetName resourceName = SharedSetName.of("[CUSTOMER]", "[SHARED_SET]");
    client.getSharedSet(resourceName);
    Assert.fail("No exception raised");
  } catch (InvalidArgumentException e) {
    // Expected exception
  }
}