protected void SetupMembers() { this.socketMock1 = new TunnelSocketMock(); this.socketMock2 = new TunnelSocketMock(); this.tunnel = new TunnelMock(this.socketMock1); this.congestionControlBase = null; socketMock1.InterceptOutgoingPacket(packet => socketMock2.HandlePacket(packet)); }
public void Setup() { socketMock = new TunnelSocketMock(); congestion = new AIMDCongestionControl(socketMock, 25, 576, 1, 25, 5); }
public void SetUp() { mockSock = new TunnelSocketMock(); congestion = new SimpleCongestionControl(mockSock, 250, 500, 1, 500); }
public void Setup() { tunnelSocket = new TunnelSocketMock(); }