public DisconectedStateSpecs(ITestOutputHelper output) : base(output)
 {
     _context        = new FakeConnectionContext();
     _connectionInfo = new ConnectionInfo("", 0, "", "");
     _timer          = new FakeTimer();
     _state          = GetState();
 }
 public SuspendedStateSpecs(ITestOutputHelper output)
     : base(output)
 {
     _timer   = new FakeTimer();
     _context = new FakeConnectionContext();
     _state   = GetState();
 }
Exemple #3
0
 public ConnectingStateSpecs(ITestOutputHelper output)
     : base(output)
 {
     _context = new FakeConnectionContext();
     _timer   = new FakeTimer();
     _state   = new ConnectionConnectingState(_context, _timer, Logger);
 }