public void InitializeServer_WithEmptyServerEncoder_ShouldThrowAnException() { var specification = new TestProtocolSpecification() { ClientEncoder = new BinaryClientFrameEncoder(), ServerEncoder = null }; var server = new TestPollingServer(new ServerTestNetworkLinkLayer(), specification); }
public void InitializeClient_WithEmptyClientEncoder_ShouldThrowAnException() { var specification = new TestProtocolSpecification() { ClientEncoder = null, ServerEncoder = new BinaryServerFrameEncoder() }; var client = new TestPollingClient(new ClientTestNetworkLinkLayer(), specification); }
public TestPollingServer(IServerNetworkLinkLayer networkLinkLayer, TestProtocolSpecification specification) : base(networkLinkLayer, specification) { }