* dnssd7 and dnssd8 both point to each other
*
* must return {dnssd7, dnssd8}
*/
public void testBrowsingDelegatesWithCycles() {
final DnsSdNamespace namespace = new DnsSdNamespace();
// only scope matters
final DnsSdServiceTypeID aServiceTypeId = new DnsSdServiceTypeID(namespace, "_foo._bar._udp." + dnssd7 + "._iana");
final String[] registrationDomains = ((TestDnsSdDiscoveryAdvertiser) discoveryAdvertiser).getRegistrationDomains(aServiceTypeId);
assertTrue(registrationDomains.length == 2);
final List list = Arrays.asList(registrationDomains);