@Test
    void verifyCipher() {
        val pubKey = getYubiKeyAccountRegistry().getAccountValidator().getTokenPublicId(OTP);
        val encoded = getYubikeyAccountCipherExecutor().encode(pubKey);
        assertEquals(pubKey, getYubikeyAccountCipherExecutor().decode(encoded));
    }
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