public void List()
        {
            moq::Mock <TargetVpnGateways.TargetVpnGatewaysClient> mockGrpcClient = new moq::Mock <TargetVpnGateways.TargetVpnGatewaysClient>(moq::MockBehavior.Strict);
            ListTargetVpnGatewaysRequest request = new ListTargetVpnGatewaysRequest
            {
                Region  = "regionedb20d96",
                Project = "projectaa6ff846",
            };
            TargetVpnGatewayList expectedResponse = new TargetVpnGatewayList
            {
                Id            = "id74b70bb8",
                Kind          = "kindf7aa39d9",
                Warning       = new Warning(),
                NextPageToken = "next_page_tokendbee0940",
                Items         =
                {
                    new TargetVpnGateway(),
                },
                SelfLink = "self_link7e87f12d",
            };

            mockGrpcClient.Setup(x => x.List(request, moq::It.IsAny <grpccore::CallOptions>())).Returns(expectedResponse);
            TargetVpnGatewaysClient client   = new TargetVpnGatewaysClientImpl(mockGrpcClient.Object, null);
            TargetVpnGatewayList    response = client.List(request.Project, request.Region);

            xunit::Assert.Same(expectedResponse, response);
            mockGrpcClient.VerifyAll();
        }
        public void ListRequestObject()
        {
            moq::Mock <TargetVpnGateways.TargetVpnGatewaysClient> mockGrpcClient = new moq::Mock <TargetVpnGateways.TargetVpnGatewaysClient>(moq::MockBehavior.Strict);
            ListTargetVpnGatewaysRequest request = new ListTargetVpnGatewaysRequest
            {
                PageToken            = "page_tokenf09e5538",
                MaxResults           = 2806814450U,
                Region               = "regionedb20d96",
                OrderBy              = "order_byb4d33ada",
                Project              = "projectaa6ff846",
                Filter               = "filtere47ac9b2",
                ReturnPartialSuccess = false,
            };
            TargetVpnGatewayList expectedResponse = new TargetVpnGatewayList
            {
                Id            = "id74b70bb8",
                Kind          = "kindf7aa39d9",
                Warning       = new Warning(),
                NextPageToken = "next_page_tokendbee0940",
                Items         =
                {
                    new TargetVpnGateway(),
                },
                SelfLink = "self_link7e87f12d",
            };

            mockGrpcClient.Setup(x => x.List(request, moq::It.IsAny <grpccore::CallOptions>())).Returns(expectedResponse);
            TargetVpnGatewaysClient client   = new TargetVpnGatewaysClientImpl(mockGrpcClient.Object, null);
            TargetVpnGatewayList    response = client.List(request);

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