public async stt::Task RunReportRequestObjectAsync()
        {
            moq::Mock <AlphaAnalyticsData.AlphaAnalyticsDataClient> mockGrpcClient = new moq::Mock <AlphaAnalyticsData.AlphaAnalyticsDataClient>(moq::MockBehavior.Strict);
            RunReportRequest request = new RunReportRequest
            {
                Entity             = new Entity(),
                Dimensions         = { new Dimension(), },
                Metrics            = { new Metric(), },
                DateRanges         = { new DateRange(), },
                Offset             = -4389998161825790342L,
                Limit              = 7494001492025909162L,
                MetricAggregations =
                {
                    MetricAggregation.Minimum,
                },
                DimensionFilter     = new FilterExpression(),
                MetricFilter        = new FilterExpression(),
                OrderBys            = { new OrderBy(), },
                CurrencyCode        = "currency_code7f81e352",
                CohortSpec          = new CohortSpec(),
                KeepEmptyRows       = true,
                ReturnPropertyQuota = true,
            };
            RunReportResponse expectedResponse = new RunReportResponse
            {
                MetricHeaders    = { new MetricHeader(), },
                Rows             = { new Row(), },
                Metadata         = new ResponseMetaData(),
                PropertyQuota    = new PropertyQuota(),
                Totals           = { new Row(), },
                Maximums         = { new Row(), },
                Minimums         = { new Row(), },
                DimensionHeaders =
                {
                    new DimensionHeader(),
                },
                RowCount = 743251772,
            };

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

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

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

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

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