@Test(expected = TechnicalException.class)
    public void testSetNullIpHeaderChain() {
        val ipExtractor = new IpExtractor();
        ipExtractor.setAlternateIpHeaders((String[]) null);
    }
This class tests the {@link IpExtractor}.

@author Jerome Leleu
@since 1.8.0
pac4j-http/src/test/java/org/pac4j/http/credentials/extractor/IpExtractorTests.java