protected override void DoSetUp() { adapter = TrackDisposable(new BuiltinContainerAdapter()); logStatements = new List<string>(); transport = new ArtificialTransport(); Configure.With(adapter) .Logging(l => l.Use(new ListLoggerFactory(logStatements))) .Transport(t => { t.UseSender(transport); t.UseReceiver(transport); t.UseErrorTracker(new ErrorTracker("error")); }) .CreateBus() .Start(1); }
protected override void DoSetUp() { adapter = TrackDisposable(new BuiltinContainerAdapter()); logStatements = new List <string>(); transport = new ArtificialTransport(); Configure.With(adapter) .Logging(l => l.Use(new ListLoggerFactory(logStatements))) .Transport(t => { t.UseSender(transport); t.UseReceiver(transport); t.UseErrorTracker(new ErrorTracker("error")); }) .CreateBus() .Start(1); }