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

  StatusRuntimeException exception = new StatusRuntimeException(Status.INVALID_ARGUMENT);
  mockHotelPerformanceViewService.addException(exception);
  try {
    HotelPerformanceViewName resourceName = HotelPerformanceViewName.of("[CUSTOMER]");
    client.getHotelPerformanceView(resourceName);
    Assert.fail("No exception raised");
  } catch (InvalidArgumentException e) {
    // Expected exception
  }
}