public List <PositionListPublish> SelectPositionsTest(object parameter) { List <PositionListPublish> result = PositionListCheckExe.SelectPositions(parameter); return(result); // TODO: add assertions to method PositionListCheckExeTest.SelectPositionsTest(Object) }
public void SelectPositionsTest() { //Arrange // var parameter = CommonParameter.GetParameters("Get", "mif", "20212022", "LTO", "", "", "LTOTeacher", "00052589"); //Act List <PositionListPublish> checkList = PositionListCheckExe.SelectPositions(parameter); //Assert var result = checkList.Count.ToString();// myGridview.Rows.Count.ToString(); Assert.IsNotNull(result, $" position list count {result}"); }