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

  com.google.ads.googleads.v5.services.VideoName resourceName2 =
      com.google.ads.googleads.v5.services.VideoName.of("[CUSTOMER]", "[VIDEO]");
  Video expectedResponse = Video.newBuilder().setResourceName(resourceName2.toString()).build();
  mockVideoService.addResponse(expectedResponse);
  VideoName resourceName = VideoName.of("[CUSTOMER]", "[VIDEO]");
  Video actualResponse = client.getVideo(resourceName);
  Assert.assertEquals(expectedResponse, actualResponse);
  List<AbstractMessage> actualRequests = mockVideoService.getRequests();
  Assert.assertEquals(1, actualRequests.size());
  GetVideoRequest actualRequest = (GetVideoRequest) actualRequests.get(0);
  Assert.assertEquals(resourceName, VideoName.parse(actualRequest.getResourceName()));
  Assert.assertTrue(
      channelProvider.isHeaderSent(
          ApiClientHeaderProvider.getDefaultApiClientHeaderKey(),
          GaxGrpcProperties.getDefaultApiClientHeaderPattern()));
}