示例#1
0
 public DisenrollStudentCommandTests()
 {
     unitOfWorkSpy        = new UnitOfWorkSpy();
     studentRepositorySpy = unitOfWorkSpy.StudentRepositorySpy;
     courseRepositorySpy  = unitOfWorkSpy.CourseRepositorySpy;
     handler = new DisenrollStudentCommandHandler(unitOfWorkSpy);
 }
示例#2
0
 public TransferStudentCommandTests()
 {
     unitOfWorkSpy        = new UnitOfWorkSpy();
     studentRepositorySpy = unitOfWorkSpy.StudentRepositorySpy;
     courseRepositorySpy  = unitOfWorkSpy.CourseRepositorySpy;
     handler = new TransferStudentCommandHandler(unitOfWorkSpy);
 }