@Test
public void testThatUpdateRateLimitWorksWell() throws Exception {
final DefaultProxyManager manager = new DefaultProxyManager(new LocalhostNoProxyLoader(), 0, 0, 0, 1000);
final HttpProxyConfig config = manager.take();
manager.ban(config);
long time = System.currentTimeMillis();
manager.take();
time = System.currentTimeMillis() - time;
assertTrue("update rate limits failed", time >= 1000);