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

  StatusRuntimeException exception = new StatusRuntimeException(Status.INVALID_ARGUMENT);
  mockExpandedLandingPageViewService.addException(exception);
  try {
    ExpandedLandingPageViewName resourceName =
        ExpandedLandingPageViewName.of("[CUSTOMER]", "[EXPANDED_LANDING_PAGE_VIEW]");
    client.getExpandedLandingPageView(resourceName);
    Assert.fail("No exception raised");
  } catch (InvalidArgumentException e) {
    // Expected exception
  }
}