public void GetVideo2()
        {
            Mock <VideoService.VideoServiceClient> mockGrpcClient = new Mock <VideoService.VideoServiceClient>(MockBehavior.Strict);
            GetVideoRequest request = new GetVideoRequest
            {
                ResourceName = new VideoName("[CUSTOMER]", "[VIDEO]").ToString(),
            };
            Video expectedResponse = new Video
            {
                ResourceName = "resourceName2625949903",
            };

            mockGrpcClient.Setup(x => x.GetVideo(request, It.IsAny <CallOptions>()))
            .Returns(expectedResponse);
            VideoServiceClient client = new VideoServiceClientImpl(mockGrpcClient.Object, null);
            Video response            = client.GetVideo(request);

            Assert.AreEqual(expectedResponse, response);
            mockGrpcClient.VerifyAll();
        }
        public void GetVideo()
        {
            moq::Mock <VideoService.VideoServiceClient> mockGrpcClient = new moq::Mock <VideoService.VideoServiceClient>(moq::MockBehavior.Strict);
            GetVideoRequest request = new GetVideoRequest
            {
                ResourceNameAsVideoName = gagvr::VideoName.FromCustomerVideo("[CUSTOMER]", "[VIDEO]"),
            };
            gagvr::Video expectedResponse = new gagvr::Video
            {
                ResourceNameAsVideoName = gagvr::VideoName.FromCustomerVideo("[CUSTOMER]", "[VIDEO]"),
                Id             = "id74b70bb8",
                ChannelId      = "channel_id856ceb72",
                DurationMillis = 4964327688054496886L,
                Title          = "title17dbd3d5",
            };

            mockGrpcClient.Setup(x => x.GetVideo(request, moq::It.IsAny <grpccore::CallOptions>())).Returns(expectedResponse);
            VideoServiceClient client   = new VideoServiceClientImpl(mockGrpcClient.Object, null);
            gagvr::Video       response = client.GetVideo(request.ResourceName);

            Assert.AreEqual(expectedResponse, response);
            mockGrpcClient.VerifyAll();
        }