예제 #1
0
 public void Setup()
 {
     student              = GivenAStudent("Peter", "House");
     newStudent           = GivenAStudent("Peter", "Grey");
     clsStudentRepository = new ClsStudentRepository();
 }
예제 #2
0
 private void GivenAStudenRepositoryMock()
 {
     clsStudentRepository = Substitute.For <ClsStudentRepository>();
 }