public DisenrollStudentCommandTests() { unitOfWorkSpy = new UnitOfWorkSpy(); studentRepositorySpy = unitOfWorkSpy.StudentRepositorySpy; courseRepositorySpy = unitOfWorkSpy.CourseRepositorySpy; handler = new DisenrollStudentCommandHandler(unitOfWorkSpy); }
public RegisterStudentCommandTests() { unitOfWork = new UnitOfWorkSpy(); studentRepositorySpy = unitOfWork.StudentRepositorySpy; notificationService = new NotificationServiceSpy(); handler = new RegisterStudentCommandHandler(unitOfWork, notificationService); }
public TransferStudentCommandTests() { unitOfWorkSpy = new UnitOfWorkSpy(); studentRepositorySpy = unitOfWorkSpy.StudentRepositorySpy; courseRepositorySpy = unitOfWorkSpy.CourseRepositorySpy; handler = new TransferStudentCommandHandler(unitOfWorkSpy); }
public UnregisterStudentCommandTests() { unitOfWorkSpy = new UnitOfWorkSpy(); studentRepositorySpy = unitOfWorkSpy.StudentRepositorySpy; handler = new UnregisterStudentCommandHandler(unitOfWorkSpy); }
public EditStudentDetailsCommandTests() { unitOfWorkSpy = new UnitOfWorkSpy(); studentRepositorySpy = unitOfWorkSpy.StudentRepositorySpy; handler = new EditStudentDetailsCommandHandler(unitOfWorkSpy); }