@Test
public void testDefaultConfigurator() {

    RestClientFactory factory = RestClientFactoryBuilder.builder().build();
    ClientConfigurator fromFactory = factory.getClientConfigurator();
    assertTrue(fromFactory instanceof CompositeClientConfigurator);
    CompositeClientConfigurator compositeClientConfigurator =
            (CompositeClientConfigurator) fromFactory;
    assertEquals(
            ImmutableList.of(RestClientFactoryBuilder.DEFAULT_CONFIGURATOR),
            compositeClientConfigurator.getConfigurators());
}