Esempio n. 1
0
        public ClosedStateSpecs(ITestOutputHelper output) : base(output)
        {
            var sink = new TestLoggerSink();

            _logger  = new IO.Ably.DefaultLogger.InternalLogger(Defaults.DefaultLogLevel, sink);
            _context = new FakeConnectionContext();
            _state   = new ConnectionClosedState(_context, _logger);
        }
Esempio n. 2
0
 public ClosedStateSpecs(ITestOutputHelper output) : base(output)
 {
     _context = new FakeConnectionContext();
     _state   = new ConnectionClosedState(_context);
 }