### Question:
UUID { public static String randomUID() { return Long.toString((long)(Math.random() * 1000000)); } private  UUID(); static String randomUID();  }### Answer:
@Test public void testRandomUID() throws Exception { String theUUID = UUID.randomUID(); assertNotNull(theUUID); assertTrue(theUUID.length() > 0); Long.valueOf(theUUID); }