cacheMgr2.addCache(cacheName, 1);
assertTrue("cache should exist in cache mgr1", cacheMgr.cacheExists(cacheName));
assertTrue("cache should also exist in cache mgr2", cacheMgr2.cacheExists(cacheName));
Cache cache1 = cacheMgr.getCache(cacheName);
Cache cache2 = cacheMgr2.getCache(cacheName);
assertFalse("caches should not be the same instance", cache1 == cache2);
assertEquals("invalid cache name", cacheName, cache1.getName());
assertEquals("invalid cache name for cache2", cacheName, cache2.getName());
}