@Test
    void verifyServerPrefix() throws Exception {
        val requestContext = MockRequestContext.create(applicationContext);
        requestContext.setServerName("sso.example.org");
        requestContext.setContextPath("/cas/tenants/b9584c42/login");
        requestContext.setServletPath("/login");
        requestContext.setClientInfo();
        val chain = new MockFilterChain();
        val response = requestContext.getHttpServletResponse();
        tenantRoutingFilter.getFilter().doFilter(requestContext.getHttpServletRequest(), response, chain);
        assertTrue(response.getForwardedUrl().startsWith("/tenants/b9584c42"));
    }
This is {@link TenantRoutingFilterTests}.

@author Misagh Moayyed
@since 7.3.0
core/cas-server-core-multitenancy/src/test/java/org/apereo/cas/multitenancy/TenantRoutingFilterTests.java