Ejemplo n.º 1
0
        public void TearDown()
        {
            if (_commHandler != null && _commHandler.GetWasShutdown())
            {
                _commHandler.Close();
            }
            _commHandler = null;

            if (_client != null)
            {
                if (_client.Client != null && _client.Connected)
                {
                    _client.Close();
                }
                _client = null;
            }
        }
Ejemplo n.º 2
0
 public void SetUp()
 {
     _commHandler = new CommHandlerChildForTests();
 }