Clock { public static long millis() { return time == 0 ? System.currentTimeMillis() : time; } private  Clock(); static long millis(); static void setMillis(long millis); static void shift(long delta); static void reset();  }
@Test public void defaultClockUseSystemTime() { assertFalse(Clock.millis() > System.currentTimeMillis()); }