public SseClientTest(ITestOutputHelper output) { var converter = new Converter(output); Console.SetOut(converter); Configuration.Define(); _context = new MockRequestResponseContext(new MockResponseSenderChannel()); _client = new SseClient(_context); }
public SseFeedTest(ITestOutputHelper output) { var converter = new Converter(output); Console.SetOut(converter); _world = World.StartWithDefaults("test-feed"); Configuration.Define(); _context = new MockRequestResponseContext(new MockResponseSenderChannel()); _client = new SseClient(_context); }
public MockSseStreamResource(World world) : base(world) { _completes = world.CompletesFor(new BasicCompletes <string>(world.Stage.Scheduler)); RequestResponseContext = new MockRequestResponseContext(new MockResponseSenderChannel()); }
public SseSubscriberTest() { Configuration.Define(); _context = new MockRequestResponseContext(new MockResponseSenderChannel()); _client = new SseClient(_context); }