private void addProfilesToContext() {
        context.setRequestAttribute(Pac4jConstants.USER_PROFILES, profiles);
        sessionStore.set(context, Pac4jConstants.USER_PROFILES, profiles);
    }
Tests {@link DefaultLogoutLogic}.

@author Jerome Leleu
@since 1.9.0
pac4j-core/src/test/java/org/pac4j/core/engine/DefaultLogoutLogicTests.java