public void testTwoCachesSameCacheStore() {
EmbeddedCacheManager localCacheManager = TestCacheManagerFactory.createCacheManager(false);
try {
ConfigurationBuilder cb = new ConfigurationBuilder();
cb.read(localCacheManager.getDefaultCacheConfiguration());
createCacheStoreConfig(cb.persistence(), false);
Configuration c = cb.build();
localCacheManager.defineConfiguration("first", c);
localCacheManager.defineConfiguration("second", c);
cacheNames.add("first");
cacheNames.add("second");