@Test
public void registryBuilderUsesProvidedHttpsIOSessionStrategy() {

    // given
    SchemeIOSessionStrategy expectedSchemeIOSessionStrategy = mock(SchemeIOSessionStrategy.class);
    HttpClientConfig.Builder httpClientConfigBuilder = createTestHttpClientConfigBuilder(expectedSchemeIOSessionStrategy);
    WrappedHttpClientConfig.Builder builder = createDefaultTestWrappedHttpClientConfigBuilder(httpClientConfigBuilder.build());
    ExtendedJestClientFactory factory = new ExtendedJestClientFactory(builder.build());
    // when
    Registry<SchemeIOSessionStrategy> registry = factory.createSchemeIOSessionStrategyRegistry();
    // then
    assertEquals(expectedSchemeIOSessionStrategy, registry.lookup("https"));
}