@Test
    public void testOk() throws CertificateException {
        verifyCertificateWithClient(new X509Client());

        val customHeaderClient = new X509Client();
        customHeaderClient.setCredentialsExtractor(new X509CredentialsExtractor("custom.header"));
        verifyCertificateWithClient(customHeaderClient);
    }
Tests {@link X509Client}.

@author Jerome Leleu
@since 3.3.0
pac4j-http/src/test/java/org/pac4j/http/client/direct/X509ClientTests.java