public ProjectionTrackContext() { projection = Substitute.For <IProjection>(); projection.AsyncOptions.Returns(new AsyncOptions()); theProjectionTrack = new ProjectionTrack(theFetcher, TestingDocumentStore.Basic(), projection, Substitute.For <IDaemonLogger>(), new StubErrorHandler(), Substitute.For <ITenant>()); }
public ProjectionTrackContext() { projection = Substitute.For <IProjection>(); projection.AsyncOptions.Returns(new AsyncOptions()); var store = DocumentStore.For(x => { x.Connection(ConnectionSource.ConnectionString); x.AutoCreateSchemaObjects = AutoCreate.All; x.DatabaseSchemaName = "projection_track"; }); theProjectionTrack = new ProjectionTrack(theFetcher, store, projection, Substitute.For <IDaemonLogger>(), new StubErrorHandler(), Substitute.For <ITenant>()); }