protected Optional<? extends YubiKeyAccount> getAccount(final String username) {
        return getYubiKeyAccountRegistry().getAccount(username);
    }
This is {@link AbstractYubiKeyAccountRegistryTests}.

@author Timur Duehr
@since 6.0.0
support/cas-server-support-yubikey-core/src/test/java/org/apereo/cas/adaptors/yubikey/AbstractYubiKeyAccountRegistryTests.java