@Test
    void verifyOperation() throws Throwable {
        assertNotNull(tomcatCsrfPreventionFilter.getFilter());
        assertNotNull(tomcatRemoteAddressFilter.getFilter());

        val request = new MockHttpServletRequest();
        val response = new MockHttpServletResponse();

        request.setRemoteAddr("185.81.151.11");
        request.setLocalAddr("195.88.151.11");
        ClientInfoHolder.setClientInfo(ClientInfo.from(request));

        tomcatRemoteAddressFilter.getFilter().doFilter(request, response, new MockFilterChain());
        assertEquals(401, response.getStatus());
    }
This is {@link CasEmbeddedContainerTomcatFiltersConfigurationTests}.

@author Misagh Moayyed
@since 6.2.0
webapp/cas-server-webapp-init-tomcat/src/test/java/org/apereo/cas/config/CasEmbeddedContainerTomcatFiltersConfigurationTests.java