@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_serviceNotFoundExceptionIsThrown_then_illegalStateExceptionIsThrown() {
        // when HazelcastException with ServiceNotFoundException cause was thrown by hzInstance.getDistributedObject
        // (i.e. cache support is not available server-side)
        HazelcastInstance hzInstance = mock(HazelcastInstance.class);
        HazelcastException hzException = new HazelcastException("mock exception",
                new ServiceNotFoundException("mock exception"));
        when(hzInstance.getDistributedObject(anyString(), anyString())).thenThrow(hzException);

        ClientICacheManager clientCacheManager = new ClientICacheManager(hzInstance);
        // then an IllegalStateException will be thrown by getCache
        assertThrows(IllegalStateException.class, () -> clientCacheManager.getCache("any-cache"));
    }