assertNull("Inactivation should have cleared region", cache1.get(fqn, "name"));
}
protected CacheSPI<Object, Object> createCache() throws Exception
{
CacheMode mode = CacheMode.REPL_SYNC;
Configuration c = UnitTestConfigurationFactory.createConfiguration(mode);
CacheSPI<Object, Object> cache = (CacheSPI<Object, Object>) new UnitTestCacheFactory<Object, Object>().createCache(c, false, getClass());
cache.getConfiguration().setUseRegionBasedMarshalling(true);
cache.getConfiguration().setInactiveOnStartup(true);
cache.getConfiguration().setBuddyReplicationConfig(getBuddyConfig());