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

  BatchGetPhotosResponse expectedResponse = BatchGetPhotosResponse.newBuilder().build();
  mockStreetViewPublishService.addResponse(expectedResponse);
  List<String> photoIds = new ArrayList<>();
  PhotoView view = PhotoView.BASIC;
  BatchGetPhotosResponse actualResponse = client.batchGetPhotos(photoIds, view);
  Assert.assertEquals(expectedResponse, actualResponse);
  List<GeneratedMessageV3> actualRequests = mockStreetViewPublishService.getRequests();
  Assert.assertEquals(1, actualRequests.size());
  BatchGetPhotosRequest actualRequest = (BatchGetPhotosRequest) actualRequests.get(0);
  Assert.assertEquals(photoIds, actualRequest.getPhotoIdsList());
  Assert.assertEquals(view, actualRequest.getView());
  Assert.assertTrue(
      channelProvider.isHeaderSent(
          ApiClientHeaderProvider.getDefaultApiClientHeaderKey(),
          GaxGrpcProperties.getDefaultApiClientHeaderPattern()));
}