@Test public void testSleep() { long start = System.currentTimeMillis(); ThreadUtil.sleep(500); long duration = System.currentTimeMillis() - start; assertTrue(duration >= 450); }
@SneakyThrows public static void sleep(long millis) { Thread.sleep(millis); }
ThreadUtil { @SneakyThrows public static void sleep(long millis) { Thread.sleep(millis); } }
ThreadUtil { @SneakyThrows public static void sleep(long millis) { Thread.sleep(millis); }  }
ThreadUtil { @SneakyThrows public static void sleep(long millis) { Thread.sleep(millis); }  @SneakyThrows static void sleep(long millis); }
ThreadUtil { @SneakyThrows public static void sleep(long millis) { Thread.sleep(millis); }  @SneakyThrows static void sleep(long millis);  }