@Test
        void verifyOperation() throws Throwable {
            val port = resolvePort();
            try (val webServer = new MockWebServer(port, HttpStatus.FORBIDDEN)) {
                webServer.start();

                val requestContext = MockRequestContext.create(applicationContext);
                val result = ipAddressIntelligenceService.examine(requestContext, "1.2.3.4");
                assertNotNull(result);
                assertTrue(result.isBanned());
            }
        }
This is {@link RestfulIPAddressIntelligenceServiceTests}.

@author Misagh Moayyed
@since 6.0.0
core/cas-server-core-authentication/src/test/java/org/apereo/cas/authentication/adaptive/intel/RestfulIPAddressIntelligenceServiceTests.java