public async stt::Task GetMobileDeviceConstantRequestObjectAsync()
        {
            moq::Mock <MobileDeviceConstantService.MobileDeviceConstantServiceClient> mockGrpcClient = new moq::Mock <MobileDeviceConstantService.MobileDeviceConstantServiceClient>(moq::MockBehavior.Strict);
            GetMobileDeviceConstantRequest request = new GetMobileDeviceConstantRequest
            {
                ResourceNameAsMobileDeviceConstantName = gagvr::MobileDeviceConstantName.FromCriterion("[CRITERION_ID]"),
            };
            gagvr::MobileDeviceConstant expectedResponse = new gagvr::MobileDeviceConstant
            {
                ResourceNameAsMobileDeviceConstantName = gagvr::MobileDeviceConstantName.FromCriterion("[CRITERION_ID]"),
                Type = gagve::MobileDeviceTypeEnum.Types.MobileDeviceType.Tablet,
                Id   = -6774108720365892680L,
                MobileDeviceConstantName = gagvr::MobileDeviceConstantName.FromCriterion("[CRITERION_ID]"),
                ManufacturerName         = "manufacturer_name23641b86",
                OperatingSystemName      = "operating_system_namea90f0a1e",
            };

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

            xunit::Assert.Same(expectedResponse, responseCallSettings);
            gagvr::MobileDeviceConstant responseCancellationToken = await client.GetMobileDeviceConstantAsync(request, st::CancellationToken.None);

            xunit::Assert.Same(expectedResponse, responseCancellationToken);
            mockGrpcClient.VerifyAll();
        }
        public void GetMobileDeviceConstant()
        {
            moq::Mock <MobileDeviceConstantService.MobileDeviceConstantServiceClient> mockGrpcClient = new moq::Mock <MobileDeviceConstantService.MobileDeviceConstantServiceClient>(moq::MockBehavior.Strict);
            GetMobileDeviceConstantRequest request = new GetMobileDeviceConstantRequest
            {
                ResourceNameAsMobileDeviceConstantName = gagvr::MobileDeviceConstantName.FromCriterion("[CRITERION_ID]"),
            };
            gagvr::MobileDeviceConstant expectedResponse = new gagvr::MobileDeviceConstant
            {
                ResourceNameAsMobileDeviceConstantName = gagvr::MobileDeviceConstantName.FromCriterion("[CRITERION_ID]"),
                Type = gagve::MobileDeviceTypeEnum.Types.MobileDeviceType.Tablet,
                Id   = -6774108720365892680L,
                MobileDeviceConstantName = gagvr::MobileDeviceConstantName.FromCriterion("[CRITERION_ID]"),
                ManufacturerName         = "manufacturer_name23641b86",
                OperatingSystemName      = "operating_system_namea90f0a1e",
            };

            mockGrpcClient.Setup(x => x.GetMobileDeviceConstant(request, moq::It.IsAny <grpccore::CallOptions>())).Returns(expectedResponse);
            MobileDeviceConstantServiceClient client   = new MobileDeviceConstantServiceClientImpl(mockGrpcClient.Object, null);
            gagvr::MobileDeviceConstant       response = client.GetMobileDeviceConstant(request.ResourceName);

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