DnsServerAddresses { @Deprecated public static DnsServerAddresses defaultAddresses() { return DefaultDnsServerAddressStreamProvider.defaultAddresses(); }  @Deprecated static List<InetSocketAddress> defaultAddressList(); @Deprecated static DnsServerAddresses defaultAddresses(); static DnsServerAddresses sequential(Iterable<? extends InetSocketAddress> addresses); static DnsServerAddresses sequential(InetSocketAddress... addresses); static DnsServerAddresses shuffled(Iterable<? extends InetSocketAddress> addresses); static DnsServerAddresses shuffled(InetSocketAddress... addresses); static DnsServerAddresses rotational(Iterable<? extends InetSocketAddress> addresses); static DnsServerAddresses rotational(InetSocketAddress... addresses); static DnsServerAddresses singleton(final InetSocketAddress address); abstract DnsServerAddressStream stream();  }
@Test public void testDefaultAddresses() { assertThat(defaultAddressList().size(), is(greaterThan(0))); }