@Test
    void verifyPasswordEncoderByCustomClassName() {
        val p = new PasswordEncoderProperties();
        p.setType(StandardPasswordEncoder.class.getName());
        p.setSecret("SECRET");
        val e = PasswordEncoderUtils.newPasswordEncoder(p, mock(ApplicationContext.class));
        assertNotNull(e);
    }
This is {@link DefaultPasswordEncoderTests}.

@author Misagh Moayyed
@since 5.1.0
core/cas-server-core-authentication/src/test/java/org/apereo/cas/authentication/DefaultPasswordEncoderTests.java