@Nonnull
    public HazelcastInstance getClient() {
        if (getConfig().isShared()) {
            retain();
            return proxy.get();
        } else {
            return HazelcastClient.newHazelcastClient(clientConfig);
        }
    }
@Test
    public void non_shared_client_should_return_new_client_instance() {
        DataConnectionConfig dataConnectionConfig = nonSharedDataConnectionConfig(clusterName);
        hazelcastDataConnection = new HazelcastDataConnection(dataConnectionConfig);
        HazelcastInstance c1 = hazelcastDataConnection.getClient();
        HazelcastInstance c2 = hazelcastDataConnection.getClient();

        try {
            assertThat(c1).isNotSameAs(c2);
        } finally {
            c1.shutdown();
            c2.shutdown();
        }
    }