public void StudentTestGet() { _markService.Setup(a => a.GetAllMarks(person)).Returns(_marks); string resultStudent = _student.CheckMark(person); _markService.Verify(a => a.GetAllMarks(person), Times.Once); Assert.AreEqual("Great job", resultStudent); }
public void StudentGetAllMarksTest_3() { Assert.AreEqual(_student3.CheckMark(), "Bad job"); }
public void StudentGetAllMarksTest_2() { Assert.AreEqual(_student2.CheckMark(), "Great job"); }