@Test
    void verifyDiscoveryConfig() {
        val hz = new BaseHazelcastProperties();
        hz.getCluster().getDiscovery().setEnabled(true);
        val result = HazelcastConfigurationFactory.build(hz);
        assertNotNull(result);
    }
This is {@link HazelcastConfigurationFactoryTests}.

@author Misagh Moayyed
@since 6.3.0
support/cas-server-support-hazelcast-core/src/test/java/org/apereo/cas/hz/HazelcastConfigurationFactoryTests.java