EmbeddedCacheManager cm = TestCacheManagerFactory.createCacheManager(false);
try {
cm.getCache();
ExternalizerTable extTable = TestingUtil.extractExtTable(cm);
extTable.addInternalExternalizer(ext);
extTable.start();
assert false : message;
} catch (CacheConfigurationException ce) {
log.trace("Expected exception", ce);
} finally {
cm.stop();