### Question:
UUIDGenerator { static long getTime() { if (RANDOM == null) initializeForType1(); long newTime = getUUIDTime(); if (newTime <= _lastMillis) { incrementSequence(); newTime = getUUIDTime(); } _lastMillis = newTime; return newTime; }  static byte[] next(int type); static byte[] createType1(); static String nextString(int type); static String nextHex(int type); static final int TYPE1; static final int TYPE4; }### Answer:
@Test public void testGetTime() { long time = 0; for (int i = 0; i < 10000; i++) { long newTime = UUIDGenerator.getTime(); assertTrue(newTime != time); time = newTime; } }