@Before
    public void setUp() {
        profile1 = new CommonProfile();
        profile1.setId(ID1);
        profile1.setClientName(CLIENT1);
        profile2 = new CommonProfile();
        profile2.setId(ID2);
        profile2.setClientName(CLIENT2);
        profile3 = new CommonProfile();
        profile3.setId(ID3);
        profile3.setClientName(CLIENT1);
        context = MockWebContext.create();
        sessionStore = new MockSessionStore();
        profileManager = new ProfileManager(context, sessionStore);
        profiles = new TreeMap<>();
    }
Tests {@link ProfileManager}.

@author Jerome Leleu
@since 1.9.0
pac4j-core/src/test/java/org/pac4j/core/profile/ProfileManagerTests.java