SystemInfo { public static long currentTimeMicros() { return JavaVersionSpecific.get().currentTimeMicros(); } private  SystemInfo(); static int javaVersion(); static String hostname(); static boolean jettyAlpnOptionalOrAvailable(); static int pid(); @Nullable static Inet4Address defaultNonLoopbackIpV4Address(); static long currentTimeMicros(); static OsType osType(); static boolean isLinux();  }
@Test public void currentTimeMicros() { final long expected = System.currentTimeMillis() * 1000L; assertThat(SystemInfo.currentTimeMicros()).isBetween(expected - 1_000_000L, expected + 1_000_000L); }