@Test
public void doesntApplyCertInfoIfNotConfigured() {

    // given
    Security auth = createTestBuilder()
            .withCertInfo(null)
            .build();
    HttpClientFactory.Builder settingsBuilder = Mockito.spy(createDefaultTestObjectBuilder());
    // when
    auth.configure(settingsBuilder);
    // then
    verify(settingsBuilder, never()).withSslSocketFactory(any());
    verify(settingsBuilder, never()).withHttpsIOSessionStrategy(any());
}