@Test
@SuppressWarnings("all")
public void batchUpdatePhotosTest() {

  BatchUpdatePhotosResponse expectedResponse = BatchUpdatePhotosResponse.newBuilder().build();
  mockStreetViewPublishService.addResponse(expectedResponse);
  List<UpdatePhotoRequest> updatePhotoRequests = new ArrayList<>();
  BatchUpdatePhotosResponse actualResponse = client.batchUpdatePhotos(updatePhotoRequests);
  Assert.assertEquals(expectedResponse, actualResponse);
  List<GeneratedMessageV3> actualRequests = mockStreetViewPublishService.getRequests();
  Assert.assertEquals(1, actualRequests.size());
  BatchUpdatePhotosRequest actualRequest = (BatchUpdatePhotosRequest) actualRequests.get(0);
  Assert.assertEquals(updatePhotoRequests, actualRequest.getUpdatePhotoRequestsList());
  Assert.assertTrue(
      channelProvider.isHeaderSent(
          ApiClientHeaderProvider.getDefaultApiClientHeaderKey(),
          GaxGrpcProperties.getDefaultApiClientHeaderPattern()));
}