@Test
    void verifyBadInput() {
        val encoder = new DefaultPasswordEncoder(null, null);
        assertNull(encoder.encode(null));
        assertNull(encoder.encode("password"));
    }
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