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

  StatusRuntimeException exception = new StatusRuntimeException(Status.INVALID_ARGUMENT);
  mockCampaignBidModifierService.addException(exception);
  try {
    CampaignBidModifierName resourceName =
        CampaignBidModifierName.of("[CUSTOMER]", "[CAMPAIGN_BID_MODIFIER]");
    client.getCampaignBidModifier(resourceName);
    Assert.fail("No exception raised");
  } catch (InvalidArgumentException e) {
    // Expected exception
  }
}