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

  StatusRuntimeException exception = new StatusRuntimeException(Status.INVALID_ARGUMENT);
  mockLandingPageViewService.addException(exception);
  try {
    LandingPageViewName resourceName =
        LandingPageViewName.of("[CUSTOMER]", "[LANDING_PAGE_VIEW]");
    client.getLandingPageView(resourceName);
    Assert.fail("No exception raised");
  } catch (InvalidArgumentException e) {
    // Expected exception
  }
}