cacheManager.defineConfiguration("cacheB", getIndexedConfigWithCustomCaches("cacheA", "cacheA", "cacheA").build());
cacheManager.defineConfiguration("cacheA", getIndexedConfig().build());
startAndIndexData("cacheA", cacheManager);
startAndIndexData("cacheB", cacheManager);
startAndIndexData("cacheC", cacheManager);
cacheManager.stop();
assertEquals(cacheManager.getStatus(), ComponentStatus.TERMINATED);
}
private void startAndIndexData(String cacheName, CacheContainer cacheContainer) {