public void InterviewCandidatesTest_return_all_interviewCandidate_forThePosted_byPositionID() { //Arrange forPosition.PositionID = "11220"; string expect = "11220"; //Act var list = CommonListExecute.InterviewCandidates(forPosition); int resultCount = list.Count; var result = list[0].CPNum; //Assert // Assert.AreEqual(expect, result, $" Posting position is { result}"); Assert.IsTrue(resultCount >= 1, $" interview list is { resultCount}"); }
public void InterviewCandidatesTest_returnAllInterviewCandidateList_bythePositionID() { //Arrange var parameter = new ParametersForPosition() { SchoolYear = schoolyear, PositionID = "11220" }; string expect = "11220"; //Act var list = CommonListExecute.InterviewCandidates(parameter); int resultCount = list.Count; var result = list[0].ActionSign; //Assert // Assert.AreEqual(expect, result, $" Posting position is { result}"); Assert.IsTrue(resultCount >= 1, $" interview list is { resultCount}"); }