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