@Test
    void strip_match() {
        StripUntrustedProxyHeadersHandler stripHandler = getHandler(AllowWhen.MUTUAL_SSL_AUTH);

        headers.add("x-forwarded-for", "abcd");
        stripHandler.stripXFFHeaders(msg);

        assertFalse(headers.contains("x-forwarded-for"));
    }
Strip Untrusted Proxy Headers Handler Test

@author Arthur Gonigberg
@since May 27, 2020
zuul-core/src/test/java/com/netflix/netty/common/proxyprotocol/StripUntrustedProxyHeadersHandlerTest.java