public void Teardown() { _archiveService = null; _failoverDataService = null; _liveDataService = null; _failoverService = null; _sut = null; }
public void Setup() { _archiveService = A.Fake <ILearnerArchiveService>(); _failoverDataService = A.Fake <ILearnerDataService>(); _liveDataService = A.Fake <ILearnerDataService>(); _failoverService = A.Fake <IFailoverService>(); _sut = new LearnerService(_archiveService, _failoverDataService, _liveDataService, _failoverService); }
public LearnerService( ILearnerArchiveService archiveService , ILearnerDataService failoverDataService , ILearnerDataService liveDataService , IFailoverService failoverService ) { _archiveService = archiveService; _failoverDataService = failoverDataService; _liveDataService = liveDataService; _failoverService = failoverService; }