@Test
        void verifyTrustStoreLoadingSuccessfullyWithCertAvailable() throws Throwable {
            val client = getSimpleHttpClient(sslFactory());
            assertTrue(client.isValidEndPoint("https://self-signed.badssl.com"));
        }
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