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

  Empty expectedResponse = Empty.newBuilder().build();
  mockStreetViewPublishService.addResponse(expectedResponse);
  String photoId = "photoId-1274270136";
  client.deletePhoto(photoId);
  List<GeneratedMessageV3> actualRequests = mockStreetViewPublishService.getRequests();
  Assert.assertEquals(1, actualRequests.size());
  DeletePhotoRequest actualRequest = (DeletePhotoRequest) actualRequests.get(0);
  Assert.assertEquals(photoId, actualRequest.getPhotoId());
  Assert.assertTrue(
      channelProvider.isHeaderSent(
          ApiClientHeaderProvider.getDefaultApiClientHeaderKey(),
          GaxGrpcProperties.getDefaultApiClientHeaderPattern()));
}