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

  StatusRuntimeException exception = new StatusRuntimeException(Status.INVALID_ARGUMENT);
  mockFeedPlaceholderViewService.addException(exception);
  try {
    FeedPlaceholderViewName resourceName =
        FeedPlaceholderViewName.of("[CUSTOMER]", "[FEED_PLACEHOLDER_VIEW]");
    client.getFeedPlaceholderView(resourceName);
    Assert.fail("No exception raised");
  } catch (InvalidArgumentException e) {
    // Expected exception
  }
}