private static void initializeCaches() {
    cachingProvider1 = HazelcastClientCachingProvider.createCachingProvider(c1);
    cachingProvider2 = HazelcastClientCachingProvider.createCachingProvider(c2);
    cachingProvider3 = HazelcastClientCachingProvider.createCachingProvider(c3);
    cachingProvider4 = HazelcastClientCachingProvider.createCachingProvider(c4);
    cachingProvider5 = HazelcastClientCachingProvider.createCachingProvider(c5);

    final String cacheName = CACHE_NAME_PREFIX + randomString();
    cache1 = (ICache) cachingProvider1.getCacheManager().getCache(cacheName);
    cache2 = (ICache) cachingProvider2.getCacheManager().getCache(cacheName);
    cache3 = (ICache) cachingProvider3.getCacheManager().getCache(cacheName);
    cache4 = (ICache) cachingProvider4.getCacheManager().getCache(cacheName);
    cache5 = (ICache) cachingProvider5.getCacheManager().getCache(cacheName);
  }
 @Override
 protected CachingProvider getCachingProvider() {
   return HazelcastClientCachingProvider.createCachingProvider(getHazelcastInstance());
 }