Пример #1
0
        public List <ApplicantListSelect> SelectCandidatesTest(object parameter)
        {
            List <ApplicantListSelect> result = PositionListCheckExe.SelectCandidates(parameter);

            return(result);
            // TODO: add assertions to method PositionListCheckExeTest.SelectCandidatesTest(Object)
        }
Пример #2
0
        public void SelectCandidatesTest()
        {
            //Arrange
            // var parameters = CommonParameter.GetParameters3("IncludeAll", "20212022", "23886");
            var parameter = new { Operate = "IncludeAll", SchoolYear = "20212022", PositionID = "23886" };
            //Act
            List <ApplicantListSelect> checkList = PositionListCheckExe.SelectCandidates(parameter);

            //Assert
            var result = checkList.Count.ToString();//  myGridview.Rows.Count.ToString();

            Assert.IsNotNull(result, $" position list count {result}");
        }