### Question:
NameResolverProvider { public Duration cacheMinTimeToLive() { return cacheMinTimeToLive; } NameResolverProvider(Build build); static NameResolverSpec builder(); Duration cacheMaxTimeToLive(); Duration cacheMinTimeToLive(); Duration cacheNegativeTimeToLive(); boolean isDisableOptionalRecord(); boolean isDisableRecursionDesired(); boolean isPreferNative(); boolean isRoundRobinSelection(); @Nullable LoopResources loopResources(); int maxPayloadSize(); int maxQueriesPerResolve(); int ndots(); Duration queryTimeout(); @Nullable ResolvedAddressTypes resolvedAddressTypes(); @Nullable Iterable<String> searchDomains(); @Override boolean equals(Object o); @Override int hashCode(); DnsAddressResolverGroup newNameResolverGroup(LoopResources defaultLoopResources, boolean defaultPreferNative);  }### Answer:
@Test public void cacheMinTimeToLive() { assertThat(builder.build().cacheMinTimeToLive()).isEqualTo(DEFAULT_CACHE_MIN_TIME_TO_LIVE); Duration cacheMinTimeToLive = Duration.ofSeconds(5); builder.cacheMinTimeToLive(cacheMinTimeToLive); assertThat(builder.build().cacheMinTimeToLive()).isEqualTo(cacheMinTimeToLive); }