@Test
        void verifyMessage() throws Throwable {
            val clientFactory = new SimpleHttpClientFactoryBean();
            clientFactory.setSslSocketFactory(getFriendlyToAllSSLSocketFactory());
            clientFactory.setHostnameVerifier(new NoopHostnameVerifier());
            clientFactory.setAcceptableCodes(CollectionUtils.wrapList(200, 403));
            val client = clientFactory.getObject();
            val msg = new HttpMessage(new URI("https://localhost:9859/post").toURL(), "{'name' : 'value'}", false);
            val result = client.sendMessageToEndPoint(msg);
            assertTrue(result);
        }
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