public void InitializeServer_WithEmptyServerEncoder_ShouldThrowAnException()
        {
            var specification = new TestProtocolSpecification()
            {
                ClientEncoder = new BinaryClientFrameEncoder(),
                ServerEncoder = null
            };

            var server = new TestPollingServer(new ServerTestNetworkLinkLayer(), specification);
        }
Example #2
0
        public void InitializeClient_WithEmptyClientEncoder_ShouldThrowAnException()
        {
            var specification = new TestProtocolSpecification()
            {
                ClientEncoder = null,
                ServerEncoder = new BinaryServerFrameEncoder()
            };

            var client = new TestPollingClient(new ClientTestNetworkLinkLayer(), specification);
        }
Example #3
0
 public TestPollingServer(IServerNetworkLinkLayer networkLinkLayer, TestProtocolSpecification specification)
     : base(networkLinkLayer, specification)
 {
 }