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); }
public EventStoreTestSuit(IEventStore eventStore, IProjectionSerializer projectionSerializer = null) { _projectionSerializer = projectionSerializer; _eventStore = new EventStoreWrapper(eventStore); }