@Test
public void clientIsInitializedOnlyOnce() {

    // given
    HCHttp factory = spy(createDefaultHttpObjectFactoryBuilder().build());
    // when
    HttpClient client1 = factory.createClient();
    HttpClient client2 = factory.createClient();
    // then
    assertEquals(client1, client2);
}