NodeConfig config = new NodeConfig();
config.setLookupTimeout(20L, TimeUnit.SECONDS);
DHTFuture<NodeEntity> future
= first.discover(lookupId, config);
NodeEntity entity = future.get();
TestCase.assertEquals(lookupId, entity.getId());
Contact[] contacts = entity.getContacts();
Contact[] closest = entity.getClosest();