assertEquals(100, done.get());
}
@Test
public void testThatManagerDoesNotBlockQueueDuringProxiesUpdate() throws Exception {
manager = new DefaultProxyManager(new Mock3GoodHttpProxySlowLoader(), 1, 100, 10, 0);
final HttpProxyConfig firstProxy = manager.take();
final HttpProxyConfig secondProxy = manager.take();
manager.ban(secondProxy);
new Thread(new Runnable() {
@Override