### Question:
SimpleProxyProvider implements ProxyProvider { @Override public Proxy getProxy(Task task) { return proxies.get(incrForLoop()); } SimpleProxyProvider(List<Proxy> proxies);  SimpleProxyProvider(List<Proxy> proxies, AtomicInteger pointer); static SimpleProxyProvider store(Proxy... proxies); @Override Proxy getProxy(Task task);  }### Answer:
@Test public void testGetProxy() throws Exception { Proxy proxy1 = new Proxy("127.0.0.1", 80); Proxy proxy2 = new Proxy("127.0.0.2", 81); SimpleProxyProvider simpleProxyProvider = SimpleProxyProvider.store(proxy1, proxy2); Proxy proxy = simpleProxyProvider.getProxy(task); System.out.println(proxy); proxy = simpleProxyProvider.getProxy(task); System.out.println(proxy); proxy = simpleProxyProvider.getProxy(task); System.out.println(proxy); }