public async stt::Task GetMobileAppCategoryConstantRequestObjectAsync()
        {
            moq::Mock <MobileAppCategoryConstantService.MobileAppCategoryConstantServiceClient> mockGrpcClient = new moq::Mock <MobileAppCategoryConstantService.MobileAppCategoryConstantServiceClient>(moq::MockBehavior.Strict);
            GetMobileAppCategoryConstantRequest request = new GetMobileAppCategoryConstantRequest
            {
                ResourceNameAsMobileAppCategoryConstantName = gagvr::MobileAppCategoryConstantName.FromMobileAppCategoryConstant("[MOBILE_APP_CATEGORY_CONSTANT]"),
            };
            gagvr::MobileAppCategoryConstant expectedResponse = new gagvr::MobileAppCategoryConstant
            {
                ResourceNameAsMobileAppCategoryConstantName = gagvr::MobileAppCategoryConstantName.FromMobileAppCategoryConstant("[MOBILE_APP_CATEGORY_CONSTANT]"),
                Id = 1958153144,
                MobileAppCategoryConstantName = gagvr::MobileAppCategoryConstantName.FromMobileAppCategoryConstant("[MOBILE_APP_CATEGORY_CONSTANT]"),
            };

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

            Assert.AreEqual(expectedResponse, responseCallSettings);
            gagvr::MobileAppCategoryConstant responseCancellationToken = await client.GetMobileAppCategoryConstantAsync(request, st::CancellationToken.None);

            Assert.AreEqual(expectedResponse, responseCancellationToken);
            mockGrpcClient.VerifyAll();
        }
        public async Task GetMobileAppCategoryConstantAsync2()
        {
            Mock <MobileAppCategoryConstantService.MobileAppCategoryConstantServiceClient> mockGrpcClient = new Mock <MobileAppCategoryConstantService.MobileAppCategoryConstantServiceClient>(MockBehavior.Strict);
            GetMobileAppCategoryConstantRequest request = new GetMobileAppCategoryConstantRequest
            {
                ResourceName = new MobileAppCategoryConstantName("[MOBILE_APP_CATEGORY_CONSTANT]").ToString(),
            };
            MobileAppCategoryConstant expectedResponse = new MobileAppCategoryConstant
            {
                ResourceName = "resourceName2625949903",
            };

            mockGrpcClient.Setup(x => x.GetMobileAppCategoryConstantAsync(request, It.IsAny <CallOptions>()))
            .Returns(new Grpc.Core.AsyncUnaryCall <MobileAppCategoryConstant>(Task.FromResult(expectedResponse), null, null, null, null));
            MobileAppCategoryConstantServiceClient client = new MobileAppCategoryConstantServiceClientImpl(mockGrpcClient.Object, null);
            MobileAppCategoryConstant response            = await client.GetMobileAppCategoryConstantAsync(request);

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