Beispiel #1
0
        public void Teardown()
        {
            _archiveService      = null;
            _failoverDataService = null;
            _liveDataService     = null;
            _failoverService     = null;

            _sut = null;
        }
Beispiel #2
0
        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);
        }
Beispiel #3
0
 public LearnerService(
     ILearnerArchiveService archiveService
     , ILearnerDataService failoverDataService
     , ILearnerDataService liveDataService
     , IFailoverService failoverService
     )
 {
     _archiveService      = archiveService;
     _failoverDataService = failoverDataService;
     _liveDataService     = liveDataService;
     _failoverService     = failoverService;
 }