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

  StatusRuntimeException exception = new StatusRuntimeException(Status.INVALID_ARGUMENT);
  mockCampaignSharedSetService.addException(exception);
  try {
    CampaignSharedSetName resourceName =
        CampaignSharedSetName.of("[CUSTOMER]", "[CAMPAIGN_SHARED_SET]");
    client.getCampaignSharedSet(resourceName);
    Assert.fail("No exception raised");
  } catch (InvalidArgumentException e) {
    // Expected exception
  }
}