Exemple #1
0
 public HistoryManagerPersistor(IHistoryItemToHistoryItemMetaDataMapper historyItemMetaDataMapper, IHistoryItemMetaDataToHistoryItemMapper historyItemMapper, IHistoryManagerFactory historyManagerFactory, IHistoryItemMetaDataRepository historyItemMetaDataRepository)
 {
     _historyItemMetaDataMapper     = historyItemMetaDataMapper;
     _historyItemMapper             = historyItemMapper;
     _historyManagerFactory         = historyManagerFactory;
     _historyItemMetaDataRepository = historyItemMetaDataRepository;
 }
Exemple #2
0
        protected override void Context()
        {
            _historyItemMetaDataRepository          = A.Fake <IHistoryItemMetaDataRepository>();
            _historyManagerFactory                  = A.Fake <IHistoryManagerFactory>();
            _historyItemMetaDataToHistoryItemMapper = A.Fake <IHistoryItemMetaDataToHistoryItemMapper>();
            _historyItemToHistoryItemMetaDataMapper = A.Fake <IHistoryItemToHistoryItemMetaDataMapper>();

            sut = new HistoryManagerPersistor(_historyItemToHistoryItemMetaDataMapper, _historyItemMetaDataToHistoryItemMapper, _historyManagerFactory, _historyItemMetaDataRepository);
        }