RuntimeProvider { public static Timestamp getStartTime() { return dialect.getStartTime(); } private  RuntimeProvider(); static boolean isAndroid(); static ClassLoader getClassLoader(); static String getDefaultWriter(); static long getProcessId(); static Timestamp getStartTime(); static String getCallerClassName(final int depth); static String getCallerClassName(final String loggerClassName); static StackTraceElement getCallerStackTraceElement(final int depth); static StackTraceElement getCallerStackTraceElement(final String loggerClassName); static Timestamp createTimestamp(); static TimestampFormatter createTimestampFormatter(final String pattern, final Locale locale);  }
@Test public void startTime() throws InterruptedException { Timestamp first = RuntimeProvider.getStartTime(); assertThat(first.toInstant()).isBefore(Instant.now()); Thread.sleep(1); Timestamp second = RuntimeProvider.getStartTime(); assertThat(second.toInstant()).isEqualTo(first.toInstant()); }