private Set<String> test(final String value) {
        val properties = new Properties();
        properties.put(USERNAME, PASSWORD + value);
        AuthorizationGenerator generator = new SpringSecurityPropertiesAuthorizationGenerator(properties);
        UserProfile profile = new CommonProfile();
        profile.setId(USERNAME);
        generator.generate(null, profile);
        return profile.getRoles();
    }
This class tests {@link SpringSecurityPropertiesAuthorizationGenerator}.

@author Jerome Leleu
@since 1.8.1
pac4j-core/src/test/java/org/pac4j/core/authorization/generator/SpringSecurityPropertiesAuthorizationGeneratorTests.java