@Test
    void verifyOperation() {
        assertNotNull(hazelcastInstance);
        val extractor = new HazelcastSessionPrincipalNameExtractor();
        assertDoesNotThrow(() -> extractor.extract(new MapSession(), "casuser", mock(ValueCollector.class)));
    }
This is {@link HazelcastSessionConfigurationTests}.

@author Misagh Moayyed
@since 6.2.0
support/cas-server-support-session-hazelcast/src/test/java/org/apereo/cas/config/HazelcastSessionConfigurationTests.java