@Test
    void verifyOperation() throws Throwable {
        val input = new SimpleHttpClientFactoryBean();
        assertNotNull(input.getObject());
        assertNotNull(input.getObjectType());
        val exec = mock(ExecutorService.class);
        when(exec.awaitTermination(anyLong(), any())).thenThrow(new RuntimeException());
        input.setExecutorService(exec);
        assertDoesNotThrow(input::destroy);
    }
This is {@link SimpleHttpClientFactoryBeanTests}.

@author Misagh Moayyed
@since 6.3.0
core/cas-server-core-util-api/src/test/java/org/apereo/cas/util/http/SimpleHttpClientFactoryBeanTests.java