예제 #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);
        }
예제 #2
0
 public ClosedStateSpecs(ITestOutputHelper output) : base(output)
 {
     _context = new FakeConnectionContext();
     _state   = new ConnectionClosedState(_context);
 }