@Test // Test the creation of an ID with no problem.
public void getOrCreateIdAssignIdWithSuccess() {
uid = new UniqueId(client, table, kind, 3);
final byte[] id = { 0, 0, 5 };
final Config config = mock(Config.class);
when(config.enable_realtime_uid()).thenReturn(false);
final TSDB tsdb = mock(TSDB.class);
when(tsdb.getConfig()).thenReturn(config);
uid.setTSDB(tsdb);
when(client.get(anyGet())) // null => ID doesn't exist.