### Question:
CacheUtil { public static void store(final String diskStorePath, final String cacheName, final Object key, final Object value) { final CacheManager cacheManager = getCacheManager(diskStorePath); Cache cache = cacheManager.getCache(cacheName); if (cache == null) { cache = createCache(cacheManager, cacheName); } final Element element = new Element(key, value); cache.put(element); if (LOGGER.isLoggable(Level.FINEST)) { LOGGER.log(Level.FINEST, "####Element " + key + " created in cache with name " + cacheName); } }  static void store(final String diskStorePath, final String cacheName, final Object key, final Object value); static Object get(final String diskStorePath, final String cacheName, final Object key); static void clear(final String diskStorePath, final String cacheName);  }### Answer:
@Test public void testStore() { CacheUtil.store(cacheManager.getConfiguration().getDiskStoreConfiguration().getPath(), cacheManager.getName(), new String("testStoreKey"), new String("testStoreValue")); assertNotNull("Cannot store", cacheManager.getCache(cacheManager.getName())); }