@Override
    public <K, V> ICache<K, V> getCache(String name) {
        checkNotNull(name, "Retrieving a cache instance with a null name is not allowed!");
        return getCacheByFullName(HazelcastCacheManager.CACHE_MANAGER_PREFIX + name);
    }
@Test
    public void getCache_when_hazelcastExceptionIsThrown_then_isRethrown() {
        // when a HazelcastException occurs whose cause is not a ServiceNotFoundException
        HazelcastInstance hzInstance = mock(HazelcastInstance.class);
        when(hzInstance.getDistributedObject(anyString(), anyString())).thenThrow(new HazelcastException("mock exception"));

        ClientICacheManager clientCacheManager = new ClientICacheManager(hzInstance);
        // then the exception is rethrown
        assertThrows(HazelcastException.class, () -> clientCacheManager.getCache("any-cache"));
    }