### Question:
ConnectPool implements Closeable { boolean evictIdle() { for (Connection conn : conns) { if (!conn.evictIdle()) { return false; } } this.close(); return true; } ConnectPool(final NettyClientConfig config, final String address, final Bootstrap bootstrap, final EventBus eventBus); @Override void close();  }### Answer:
@Test public void evictIdleTest() { Assert.assertEquals(false, pool.shouldEvict()); sleep(MAXIDLE + 1); Assert.assertEquals(true, pool.shouldEvict()); Assert.assertEquals(true, pool.evictIdle()); }