Esempio n. 1
0
        public SseClientTest(ITestOutputHelper output)
        {
            var converter = new Converter(output);

            Console.SetOut(converter);

            Configuration.Define();
            _context = new MockRequestResponseContext(new MockResponseSenderChannel());
            _client  = new SseClient(_context);
        }
Esempio n. 2
0
        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);
        }
Esempio n. 3
0
 public SseSubscriberTest()
 {
     Configuration.Define();
     _context = new MockRequestResponseContext(new MockResponseSenderChannel());
     _client  = new SseClient(_context);
 }