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

  StatusRuntimeException exception = new StatusRuntimeException(Status.INVALID_ARGUMENT);
  mockDisplayKeywordViewService.addException(exception);
  try {
    DisplayKeywordViewName resourceName =
        DisplayKeywordViewName.of("[CUSTOMER]", "[DISPLAY_KEYWORD_VIEW]");
    client.getDisplayKeywordView(resourceName);
    Assert.fail("No exception raised");
  } catch (InvalidArgumentException e) {
    // Expected exception
  }
}