public void MiniEmeTest_GetArrangeCourseListByUserId() { MiniEmeClient emeClient = new MiniEmeClient(); var param = JsonHelper.ToJson(new QueryArrangeCoursesParamModel() { UserId = 146840, PageIndex = 1, PageSize = 100, // IsBookQueue = false, QueryParamModel = new List<ArrangeCourseParamModel>() { new ArrangeCourseParamModel() { BranchId = 42, ContractLevelId = 497458, ProductLevelId = 2},new ArrangeCourseParamModel() { BranchId = 42, ContractLevelId = 497460, ProductLevelId = 14} } }); var result = emeClient.GetArrangeCourseListByUserId(param); var dics = JsonHelper.FromJson<PageData<List<ArrangeCourseModel>>>(result); Assert.AreEqual(dics.Data.Count > 0, true); emeClient.Close(); }