public void BuildPartnershipsAsyncTest()
        {
            // 如果还未创建代金券批次 则创建新的代金券批次
            if (createStockResult is null)
            {
                CreateStockAsyncTest();
            }
            //var key = TenPayHelper.GetRegisterKey(Config.SenparcWeixinSetting);

            //var TenPayV3Info = TenPayV3InfoCollection.Data[key];

            // TODO: 此处信息需要完善
            var parner          = new BuildPartnershipsRequestData.Partner("{合作方类型}", "{合作方Appid}", "{合作方商户id}");
            var authorized_data = new BuildPartnershipsRequestData.Authorized_Data("FAVOR_STOCK", createStockResult.stock_id);

            var requestData = new BuildPartnershipsRequestData(parner, authorized_data);

            var marketingApis = new MarketingApis();

            try
            {
                // 合作类型设置为appid 但传入 "partner.merchant_id" 的情况
                buildPartnershipsResult = marketingApis.BuildPartnershipsAsync(requestData).GetAwaiter().GetResult();
            }
            catch (Exception ex)
            {
                Assert.IsInstanceOfType(ex, typeof(TenpayApiRequestException));
                Console.WriteLine(ex.Message);
                Assert.IsTrue(ex.Message.Contains("为null!"));
            }

            // 修改参数
            requestData.partner.merchant_id = null;

            buildPartnershipsResult = marketingApis.BuildPartnershipsAsync(requestData).GetAwaiter().GetResult();

            Console.WriteLine("微信支付 V3 建立合作关系接口结果:" + buildPartnershipsResult.ToJson(true));

            Assert.IsNotNull(buildPartnershipsResult);
            Assert.IsTrue(buildPartnershipsResult.ResultCode.Success);
            Assert.IsTrue(buildPartnershipsResult.VerifySignSuccess == true);//通过验证
        }