List<SrvRecord> result = ar.result();
assertNotNull(result);
assertFalse(result.isEmpty());
assertEquals(1, result.size());
SrvRecord record = result.get(0);
assertEquals(priority, record.priority());
assertEquals(weight, record.weight());
assertEquals(port, record.port());
assertEquals(target, record.target());
testComplete();
});
await();
}