Ejemplo n.º 1
0
 public void MiniEmeTest_BusiEMEGetStudentListByUserId()
 {
     MiniEmeClient emeClient = new MiniEmeClient();
     var param = JsonHelper.ToJson(new UserStudentListParamModel
     {
         UserId = 30688,
         IsUpgrade = true,
         UpgradeLastCourses = 4,
         IsContractOver = true,
         ContractOverMonths = 1,
         PageIndex = 1,
         PageSize = 20
     });
     var result = emeClient.GetStudentListByUserId(param);
     var jsonData = JsonHelper.FromJson<PageData<List<BranchStudentInfoModel>>>(result);
     Assert.AreEqual(jsonData.Data.Count > 0, true);
     emeClient.Close();
 }