@Test
        void verifyBypassedInvalidHttpsUrl() throws Throwable {
            val clientFactory = new SimpleHttpClientFactoryBean();
            clientFactory.setSslSocketFactory(getFriendlyToAllSSLSocketFactory());
            clientFactory.setHostnameVerifier(new NoopHostnameVerifier());
            clientFactory.setAcceptableCodes(CollectionUtils.wrapList(200, 403));
            val client = clientFactory.getObject();
            assertNotNull(client);
            assertTrue(client.isValidEndPoint("https://wrong.host.badssl.com/"));
        }
Test cases for {@link SimpleHttpClient}.

@author Scott Battaglia
@since 3.1
core/cas-server-core-util/src/test/java/org/apereo/cas/util/http/SimpleHttpClientTests.java