public ConnectionTestsBase() { App = new FakeApp(); Socket = new FakeSocket(); Connection = new Connection(new FakeServices(), App.Call, Socket, OnDisconnected); DisconnectedEvent = new ManualResetEvent(false); }
public NewTests() { _app = env => TaskHelpers.Completed(); _socket = new FakeSocket(); _services = new FakeServices(); _connection = new Connection(_services, Invoke, _socket, Disconnect); _connection.Execute(); }