}
@Test
public void canUseACustomDnsResolver() throws Exception {
final DnsResolver resolver = mock(DnsResolver.class);
final InstrumentedHttpClientConnectionManager manager =
builder.using(resolver).createConnectionManager(registry, "test");
// Yes, this is gross. Thanks, Apache!
final Field connectionOperatorField =
FieldUtils.getField(PoolingHttpClientConnectionManager.class, "connectionOperator", true);