public async stt::Task BatchRunReportsRequestObjectAsync()
        {
            moq::Mock <AlphaAnalyticsData.AlphaAnalyticsDataClient> mockGrpcClient = new moq::Mock <AlphaAnalyticsData.AlphaAnalyticsDataClient>(moq::MockBehavior.Strict);
            BatchRunReportsRequest request = new BatchRunReportsRequest
            {
                Entity   = new Entity(),
                Requests =
                {
                    new RunReportRequest(),
                },
            };
            BatchRunReportsResponse expectedResponse = new BatchRunReportsResponse
            {
                Reports =
                {
                    new RunReportResponse(),
                },
            };

            mockGrpcClient.Setup(x => x.BatchRunReportsAsync(request, moq::It.IsAny <grpccore::CallOptions>())).Returns(new grpccore::AsyncUnaryCall <BatchRunReportsResponse>(stt::Task.FromResult(expectedResponse), null, null, null, null));
            AlphaAnalyticsDataClient client = new AlphaAnalyticsDataClientImpl(mockGrpcClient.Object, null);
            BatchRunReportsResponse  responseCallSettings = await client.BatchRunReportsAsync(request, gaxgrpc::CallSettings.FromCancellationToken(st::CancellationToken.None));

            xunit::Assert.Same(expectedResponse, responseCallSettings);
            BatchRunReportsResponse responseCancellationToken = await client.BatchRunReportsAsync(request, st::CancellationToken.None);

            xunit::Assert.Same(expectedResponse, responseCancellationToken);
            mockGrpcClient.VerifyAll();
        }
        public async Task BatchRunReportsAsync()
        {
            Mock <AlphaAnalyticsData.AlphaAnalyticsDataClient> mockGrpcClient = new Mock <AlphaAnalyticsData.AlphaAnalyticsDataClient>(MockBehavior.Strict);
            BatchRunReportsRequest  request          = new BatchRunReportsRequest();
            BatchRunReportsResponse expectedResponse = new BatchRunReportsResponse();

            mockGrpcClient.Setup(x => x.BatchRunReportsAsync(request, It.IsAny <CallOptions>()))
            .Returns(new Grpc.Core.AsyncUnaryCall <BatchRunReportsResponse>(Task.FromResult(expectedResponse), null, null, null, null));
            AlphaAnalyticsDataClient client   = new AlphaAnalyticsDataClientImpl(mockGrpcClient.Object, null);
            BatchRunReportsResponse  response = await client.BatchRunReportsAsync(request);

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