public void SelectShopEmployeeRanking() { using (var client = new SexAnnualVoteClient()) { var result = client.SelectShopEmployeeRanking(new Models.Requests.SexAnnualVoteQueryRequest() { PageIndex = 1, PageSize = 10 }); result.ThrowIfException(true); Assert.AreEqual(result.Result.Source.Any(), true); result = client.SelectShopEmployeeRanking(new Models.Requests.SexAnnualVoteQueryRequest() { PageIndex = 1, PageSize = 10, ProvinceId = 1 }); result.ThrowIfException(true); Assert.AreEqual(result.Result.Source.Any(), true); result = client.SelectShopEmployeeRanking(new Models.Requests.SexAnnualVoteQueryRequest() { PageIndex = 1, PageSize = 10, ProvinceId = 1, Keywords = "22" }); result.ThrowIfException(true); Assert.AreEqual(result.Result.Source.Any(), true); } }