@Test
    public void testTwoRolesEnabled() {
        val roles = test(SEPARATOR + ROLE + SEPARATOR + ROLE2 + SEPARATOR
            + SpringSecurityPropertiesAuthorizationGenerator.ENABLED);
        assertEquals(2, roles.size());
        assertTrue(roles.contains(ROLE));
        assertTrue(roles.contains(ROLE2));
    }
This class tests {@link SpringSecurityPropertiesAuthorizationGenerator}.

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