public ConnectionTestsBase() { App = new FakeApp(); Socket = new FakeSocket(); Connection = new Connection(new FakeTrace(), App.Call, Socket, OnDisconnected); DisconnectedEvent = new ManualResetEvent(false); }
public FrameTestsBase() { App = new FakeApp(); Output = new FakeOutput(); Input = new FakeInput(); Frame = new Frame(App.Call, Output.ProduceData, Output.ProduceEnd); Input.Consume = Frame.Consume; }