示例#1
0
 public void AddPresentStudentTest()
 {
     _sps.Setup(a => a.AddPresentStudent(It.IsAny <IPerson>()));
     _teacher.AddPresentStudent(It.IsAny <IPerson>());
     _sps.Verify(a => a.AddPresentStudent(It.IsAny <IPerson>()), Times.Once);
 }