public async stt::Task ListAccessibleCustomersRequestObjectAsync()
        {
            moq::Mock <CustomerService.CustomerServiceClient> mockGrpcClient = new moq::Mock <CustomerService.CustomerServiceClient>(moq::MockBehavior.Strict);
            ListAccessibleCustomersRequest request           = new ListAccessibleCustomersRequest {
            };
            ListAccessibleCustomersResponse expectedResponse = new ListAccessibleCustomersResponse
            {
                ResourceNames =
                {
                    "resource_namese9b75273",
                },
            };

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

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

            xunit::Assert.Same(expectedResponse, responseCancellationToken);
            mockGrpcClient.VerifyAll();
        }
        public async Task ListAccessibleCustomersAsync()
        {
            Mock <CustomerService.CustomerServiceClient> mockGrpcClient = new Mock <CustomerService.CustomerServiceClient>(MockBehavior.Strict);
            ListAccessibleCustomersRequest  request          = new ListAccessibleCustomersRequest();
            ListAccessibleCustomersResponse expectedResponse = new ListAccessibleCustomersResponse();

            mockGrpcClient.Setup(x => x.ListAccessibleCustomersAsync(request, It.IsAny <CallOptions>()))
            .Returns(new Grpc.Core.AsyncUnaryCall <ListAccessibleCustomersResponse>(Task.FromResult(expectedResponse), null, null, null, null));
            CustomerServiceClient           client   = new CustomerServiceClientImpl(mockGrpcClient.Object, null);
            ListAccessibleCustomersResponse response = await client.ListAccessibleCustomersAsync(request);

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