@Test
    void verifyHeaderExtractionForAllHeaders() {
        try {
            val request = getHttpServletRequest();
            val options = ClientInfoExtractionOptions.builder()
                .useServerHostAddress(true)
                .alternateServerAddrHeaderName("server-header")
                .alternateLocalAddrHeaderName("client-header")
                .httpRequestHeaders(List.of("*"))
                .build();
            val clientInfo = ClientInfo.from(request, options);
            assertTrue(clientInfo.getHeaders().containsKey("server-header"));
            assertTrue(clientInfo.getHeaders().containsKey("client-header"));
            assertTrue(clientInfo.getHeaders().containsKey(HttpHeaders.USER_AGENT));
        } finally {
            ClientInfoHolder.clear();
        }
    }
This is {@link ClientInfoTests}.

@author Misagh Moayyed
@since 7.0.0
api/cas-server-core-api-audit/src/test/java/org/apereo/inspektr/common/web/ClientInfoTests.java