public void GetProxiesTest() { var proxies = ProxyRepository.GetProxies(); Assert.IsNotNull(proxies); Assert.IsTrue(proxies.Count > 0); }
public ProxySwitcherController() { mProxySwitcherViewModel.Proxies = new ObservableCollection <Proxy>(ProxyRepository.GetProxies()); mProxySwitcherControl.DataContext = mProxySwitcherViewModel; mDispatcher = mProxySwitcherControl.Dispatcher; }
public void GetProxyTest() { for (int i = 0; i < ProxyRepository.GetProxies().Count; i++) { var proxy = ProxyRepository.GetProxy(); Assert.IsNotNull(proxy); } }