public UseCaseTest(TeapotFactoryFixture teapotFactory) { _teapot = teapotFactory.CreateTeapotServer(Url); _loggerFactory = new LoggerFactory() .AttachObject("Environment", ConfigurationManager.AppSettings["app:Environment"]) .AttachObject("Product", ProgramInfo.FullName) .AttachScope() .AttachSnapshot() .Attach <Timestamp <DateTimeUtc> >() .AttachElapsedMilliseconds() .AddObserver(_memoryRx = new MemoryRx()); }
public UseCaseTest(TeapotFactoryFixture teapotFactory) { _teapot = teapotFactory.CreateTeapotServer(BaseUri); _http = new HttpProvider(ApiUri, ImmutableSession.Empty); }
public UseCaseTest(TeapotFactoryFixture teapotFactory) { _teapot = teapotFactory.CreateTeapotServer("http://localhost:6000"); _http = new HttpProvider("http://localhost:6000/api"); }