Пример #1
0
        public void stream()
        {
            //tcpClient();

            //Test Exception handling
            var tcpClient = new TcpClient();
            KO2Log.Last_Exception = null;
            Assert.IsNotNull(tcpClient.field("m_ClientSocket"));
            Assert.IsNull   (tcpClient.stream());
            Assert.IsInstanceOf<InvalidOperationException>(KO2Log.Last_Exception);
        }