public void Test_No_Proxy()
        {
            var conf     = new Configuration();
            var selector = new RoundRobinProxySelector(conf);

            Assert.AreEqual(Configuration.NoProxy, selector.GetProxyName(null));
        }
        public void Test_One_Proxy()
        {
            var conf = new Configuration
            {
                ProxyList = new List <string>
                {
                    "sock5://172.168.12.10:80"
                }
            };
            var selector = new RoundRobinProxySelector(conf);

            Assert.AreEqual(1, selector.GetAll().Count);
        }