@Test
    void verifyOperation() throws Throwable {
        val map = new HashMap<String, AccountRegistrationProperty>();
        map.put("username", AccountRegistrationProperty.builder()
            .name("username")
            .label("cas.screen.acct.label.username")
            .required(true)
            .build());
        map.put("firstName", AccountRegistrationProperty.builder()
            .name("firstName")
            .label("cas.screen.acct.label.firstName")
            .required(true)
            .build());
        map.put("lastName", AccountRegistrationProperty.builder()
            .name("lastName")
            .label("cas.screen.acct.label.lastName")
            .required(true)
            .build());
        val resource = new FileSystemResource(File.createTempFile("accounts", ".json"));
        val loader = new DefaultAccountRegistrationPropertyLoader(resource);
        loader.store(map);
        assertFalse(loader.load().isEmpty());
    }
This is {@link DefaultAccountRegistrationPropertyLoaderTests}.

@author Misagh Moayyed
@since 6.5.0
support/cas-server-support-account-mgmt/src/test/java/org/apereo/cas/acct/DefaultAccountRegistrationPropertyLoaderTests.java