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

  StatusRuntimeException exception = new StatusRuntimeException(Status.INVALID_ARGUMENT);
  mockSharedCriterionService.addException(exception);
  try {
    String customerId = "customerId-1772061412";
    List<SharedCriterionOperation> operations = new ArrayList<>();
    client.mutateSharedCriteria(customerId, operations);
    Assert.fail("No exception raised");
  } catch (InvalidArgumentException e) {
    // Expected exception
  }
}