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

  StatusRuntimeException exception = new StatusRuntimeException(Status.INVALID_ARGUMENT);
  mockStreetViewPublishService.addException(exception);
  try {
    String photoId = "photoId-1274270136";
    client.deletePhoto(photoId);
    Assert.fail("No exception raised");
  } catch (InvalidArgumentException e) {
    // Expected exception
  }
}