@Bean
        @RefreshScope(proxyMode = ScopedProxyMode.DEFAULT)
        public YubiKeyAccountValidator yubiKeyAccountValidator() {
            return (uid, token) -> !token.equals(BAD_TOKEN);
        }
This is {@link BaseYubiKeyTests}.

@author Misagh Moayyed
@since 6.2.0
support/cas-server-support-yubikey/src/test/java/org/apereo/cas/adaptors/yubikey/BaseYubiKeyTests.java