@Test
    void verifyEncryptedAccount() {
        val request1 = YubiKeyDeviceRegistrationRequest.builder().username("encrypteduser")
            .token(OTP).name(UUID.randomUUID().toString()).build();
        assertTrue(registerAccount(request1));

        assertTrue(isYubiKeyRegisteredFor("encrypteduser",
            getYubiKeyAccountRegistry().getAccountValidator().getTokenPublicId(OTP)));
    }
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