public static String getPrefixedCacheName(String name, URI uri, ClassLoader classLoader) {
        String cacheNamePrefix = getPrefix(uri, classLoader);
        if (cacheNamePrefix != null) {
            return cacheNamePrefix + name;
        } else {
            return name;
        }
    }
@Test
    public void testGetPrefixedCacheName() {
        String prefix = getPrefixedCacheName(CACHE_NAME, uri, classLoader);
        assertEquals(expectedPrefixedCacheName, prefix);
    }