@Test
    void verifyCorrectX509AttributeExtractorLoaded() throws IOException, CertificateException {
        assertNotNull(x509AttributeExtractor);
        val certificate = (X509Certificate) CertificateFactory.getInstance("X509").generateCertificate(
                ResourceUtils.getResourceFrom("classpath:/edipi.cer").getInputStream());
        assertTrue(x509AttributeExtractor.extractPersonAttributes(certificate).containsKey("x509EDIPI"));
    }
If there was a problem, this test would have failed to start up.
Confirm that non-default bean loaded per properties.
support/cas-server-support-x509/src/test/java/org/apereo/cas/config/EDIPIX509AttributeExtractorConfigTests.java