title: Hazelcast client connection to mocked Hazelcast instance
body: <p>Is there any way to make HazelcastClient instance can connect to Mocked Hazelcast Instance.Am Mocking Hazelcast Instance like below</p>
  
  <pre><code>TestHazelcastInstanceFactory factory = new TestHazelcastInstanceFactory();
  HazelcastInstance instance = factory.newHazelcastInstance(config);
  </code></pre>
  
  <p>But the Client instance is not able to connect to instance created above.Created client like below</p>
  
  <pre><code>HazelcastInstance instance = HazelcastClient.newHazelcastClient(clientConfig);
  </code></pre>
  
  <p>Is there any way so that i can mock even the client instance</p>