public void prepareApproveRefundParametersTest() { string paraString = "\"channel\":\"ALI\",\"ids\":[\"001\",\"002\"],\"agree\":true,\"denyReason\":null}"; BeeCloud.registerApp("c5d1cba1-5e3f-4ba0-941d-9b0a371fe719", "39a7a518-9ac8-4a9e-87bc-7885f33cf18c", "e14ae2db-608c-4f8b-b863-c8c18953eef2", null); string actual = BCPay.prepareApproveRefundParameters("ALI", new List <string> { "001", "002" }, true, null); Assert.IsTrue(actual.Contains(paraString)); }