@Test
public void ioReactorConfigUsesGivenIoThreadCount() {

    // given
    WrappedHttpClientConfig.Builder builder = createDefaultTestWrappedHttpClientConfigBuilder();
    int expectedIoThreadCount = random.nextInt(16) + 1;
    builder.ioThreadCount(expectedIoThreadCount);
    ExtendedJestClientFactory factory = new ExtendedJestClientFactory(builder.build());
    // when
    IOReactorConfig ioReactorConfig = factory.createIoReactorConfig();
    // then
    assertEquals(expectedIoThreadCount, ioReactorConfig.getIoThreadCount());
}