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

  StatusRuntimeException exception = new StatusRuntimeException(Status.INVALID_ARGUMENT);
  mockAdGroupAdAssetViewService.addException(exception);
  try {
    AdGroupAdAssetViewName resourceName =
        AdGroupAdAssetViewName.of("[CUSTOMER]", "[AD_GROUP_AD_ASSET_VIEW]");
    client.getAdGroupAdAssetView(resourceName);
    Assert.fail("No exception raised");
  } catch (InvalidArgumentException e) {
    // Expected exception
  }
}