private void expectedNProfiles(final int n) {
        assertEquals(n, getProfilesFromRequest().size());
        assertEquals(n, getProfilesFromSession().size());
    }
Tests {@link DefaultLogoutLogic}.

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