public void ConfigurationReturnsExpectedValue() { var configuration = SnapshotReaderConfigurationFactory.Create(); Assert.That(SnapshotReaderFactory.CreateWithConfiguration(configuration).Configuration, Is.SameAs(configuration)); }
public RepositoryScenarioBuilder() { _connection = EmbeddedEventStore.Instance.Connection; _unitOfWork = new UnitOfWork(); _concurrentUnitOfWork = new ConcurrentUnitOfWork(); _eventReaderConfiguration = EventReaderConfigurationFactory.Create(); _snapshotReaderConfiguration = SnapshotReaderConfigurationFactory.Create(); _eventStoreSchedule = new List <Action <IEventStoreConnection> >(); _unitOfWorkSchedule = new List <Action <UnitOfWork> >(); _concurrentUnitOfWorkSchedule = new List <Action <ConcurrentUnitOfWork> >(); }
public void SetUp() { _configuration = SnapshotReaderConfigurationFactory.Create(); _connection = EmbeddedEventStore.Connection; }