private static SimpleHttpClient getSimpleHttpClient(final SSLConnectionSocketFactory sslConnectionSocketFactory) {
            val clientFactory = new SimpleHttpClientFactoryBean();
            clientFactory.setSslSocketFactory(sslConnectionSocketFactory);
            val client = clientFactory.getObject();
            assertNotNull(client);
            return client;
        }
Tests for the {@code FileTrustStoreSslSocketFactory} class, checking for self-signed
and missing certificates via a local truststore.

@author Misagh Moayyed
@since 4.1.0
core/cas-server-core-authentication/src/test/java/org/apereo/cas/authentication/FileTrustStoreSslSocketFactoryTests.java