@Override
    public Optional<DiscoveryStrategyConfig> get(final HazelcastClusterProperties cluster,
                                                 final JoinConfig joinConfig, final Config configuration,
                                                 final NetworkConfig networkConfig) {
        return Optional.of(mock(DiscoveryStrategyConfig.class));
    }
This is {@link MockDiscoveryStrategy}.

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