final HttpClientBuilder httpClientBuilder = (HttpClientBuilder) FieldUtils
.getField(JerseyClientBuilder.class, "builder", true).get(builder);
final Field metricNameStrategyField = FieldUtils.getField(
HttpClientBuilder.class, "metricNameStrategy", true);
HttpClientMetricNameStrategy custom = HttpClientMetricNameStrategies.HOST_AND_METHOD;
assertThat(metricNameStrategyField.get(httpClientBuilder)).isNotSameAs(custom);
builder.using(custom);
assertThat(metricNameStrategyField.get(httpClientBuilder)).isSameAs(custom);
}