public AggregateSnapshotter_Tests()
 {
     _aggregateSnapshotSaver = ObjectContainer.Resolve <IAggregateSnapshotSaver>();
     _aggregateSnapshotStore = ObjectContainer.Resolve <IAggregateSnapshotStore>();
     _aggregateSnapshotter   = ObjectContainer.Resolve <IAggregateSnapshotter>();
     _typeNameProvider       = ObjectContainer.Resolve <ITypeNameProvider>();
 }
 public MongoDbPublishedVersionStore(
     IAggregateSnapshotSaver aggregateSnapshotSaver,
     IOHelper ioHelper,
     ILoggerFactory loggerFactory,
     IPublishedVersionCollection publishedVersionCollection,
     ITypeNameProvider typeNameProvider
     )
 {
     _aggregateSnapshotSaver = aggregateSnapshotSaver;
     _ioHelper = ioHelper;
     _logger   = loggerFactory.Create(GetType().FullName);
     _publishedVersionCollection = publishedVersionCollection;
     _typeNameProvider           = typeNameProvider;
 }