Example #1
0
        public StoresWrapper(
            ITransaction transaction,
            IEventStore eventStore,
            ISnapshotStore snapshotStore)
        {
            _verifier = new StoresWrapperVerifier();

            _verifier.CalledMethods |= EventStoreMethods.Ctor;

            _transaction = transaction;

            _eventStore    = new EventStoreWrapper(eventStore, _verifier);
            _snapshotStore = new SnapshotStoreWrapper(snapshotStore, _verifier);
        }
Example #2
0
        public EventStoreTestSuit(IEventStore eventStore, IProjectionSerializer projectionSerializer = null)
        {
            _projectionSerializer = projectionSerializer;

            _eventStore = new EventStoreWrapper(eventStore);
        }