public void CompositeCacheObjectMethodsTest() { INamedCache safecache = CacheFactory.GetCache(CacheName); CompositeCache ccache = new CompositeCache(new LocalNamedCache(), safecache, CompositeCacheStrategyType.ListenPresent); string s = ccache.ToString(); Assert.IsTrue(s.IndexOf("PRESENT") >= 0); ccache.Clear(); Assert.AreEqual(0, ccache.Count); ccache.Release(); CacheFactory.Shutdown(); }