@Test
    void verifySaveAccount() {
        val account = YubiKeyAccount.builder().username(UUID.randomUUID().toString())
            .devices(List.of(YubiKeyRegisteredDevice.builder()
                .name(UUID.randomUUID().toString())
                .registrationDate(ZonedDateTime.now(Clock.systemUTC()))
                .publicId(UUID.randomUUID().toString()).build()))
            .build();
        assertNotNull(getYubiKeyAccountRegistry().save(account));
        getYubiKeyAccountRegistry().delete(account.getUsername());
        getYubiKeyAccountRegistry().deleteAll();
    }
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