@Test
    public void testCommonProfileTwoProfiles() {
        profiles.add(new AnonymousProfile());
        profiles.add(profile);
        assertTrue(authorizer.isAuthorized(null, new MockSessionStore(), profiles));
    }
Tests {@link IsAuthenticatedAuthorizer}.

@author Jerome Leleu
@since 1.9.0
pac4j-core/src/test/java/org/pac4j/core/authorization/authorizer/IsAuthenticatedAuthorizerTests.java