public void testCacheStopManagerStopFollowedByGetCache() {
EmbeddedCacheManager localCacheManager = createLocalCacheManager(false);
try {
Cache cache = localCacheManager.getCache();
cache.put("k", "v");
cache.stop();
localCacheManager.stop();
localCacheManager.getCache();
} finally {
TestingUtil.killCacheManagers(localCacheManager);
}