@Test
    void verifyOperationDisabled() throws Throwable {
        val disabled = CasSSLContext.disabled();
        assertNotNull(disabled.getSslContext());
        assertNotNull(disabled.getKeyManagers());
        assertNotNull(disabled.getTrustManagers());
        assertNotNull(disabled.getHostnameVerifier());
        assertNotNull(disabled.getTrustManagerFactory());
        assertNotNull(disabled.getKeyManagerFactory());
        assertNotNull(contactUrl("https://expired.badssl.com/", disabled));
        assertNotNull(contactUrl("https://self-signed.badssl.com/", disabled));
        assertNotNull(contactUrl("https://untrusted-root.badssl.com/", disabled));
    }
This is {@link CasSSLContextTests}.

@author Misagh Moayyed
@since 6.4.0
core/cas-server-core-authentication-api/src/test/java/org/apereo/cas/authentication/CasSSLContextTests.java