### Question:
DnsNameResolverProvider extends NameResolverProvider { @Override protected boolean isAvailable() { return true; }  @Override DnsNameResolver newNameResolver(URI targetUri, Attributes params); @Override String getDefaultScheme();  }### Answer:
@Test public void isAvailable() { assertTrue(provider.isAvailable()); }