### Question:
HashUID extends UID { public int getTime() { return time; } protected  HashUID(); protected  HashUID(final byte[] data, final Date time); protected  HashUID(final byte[] data, final Date time, final String... extras); protected  HashUID(final HashUID template, final String... extras); private  HashUID(final String optionalPrefix, int h1, int h2, int time, final String... extras); private  HashUID(final String optionalPrefix, int h1, int h2, int time); @SuppressWarnings({"unchecked", "rawtypes"}) static UIDBuilder<UID> builder(); @Override int compareTo(final UID uid); @Override boolean equals(Object other); String getBaseUid(); int getH0(); int getH1(); int getH2(); String getShardedPortion(); int getTime(); @Override int hashCode(); @SuppressWarnings({"unchecked", "rawtypes"}) static UIDBuilder<UID> newBuilder(final Date time); @SuppressWarnings("unchecked") static HashUID parse(String s); @SuppressWarnings("unchecked") static HashUID parse(String s, int maxExtraParts); @SuppressWarnings("unchecked") static HashUID parseBase(String s); void readFields(DataInput in); @Override String toString();  }### Answer:
@Test public void testMiscellaneous() { HashUIDBuilder builder = new HashUIDBuilder(); HashUID result1 = builder.newId((byte[]) null); assertNotNull(result1); HashUID result2 = HashUIDBuilder.newId((HashUID) null, (String) null); assertNull(result2); HashUID result3 = new HashUID(null); assertTrue(result3.getTime() < 0); }