EmbeddedCacheManager cm = TestCacheManagerFactory.fromStream(stream);
try {
AdvancedCache<Object, Object> cache = cm.getCache().getAdvancedCache();
DataContainer ddc = DefaultDataContainer.unBoundedDataContainer(cache.getCacheConfiguration().locking().concurrencyLevel());
ActivationManager activationManager = mock(ActivationManager.class);
doNothing().when(activationManager).onUpdate(Mockito.anyObject(), Mockito.anyBoolean());
((DefaultDataContainer) ddc).initialize(null, null,new InternalEntryFactoryImpl(), activationManager, null, TIME_SERVICE);
QueryableDataContainer.setDelegate(ddc);
// Verify that the default is correctly established