public void Clear_ContainedSome_EverythingIsCleared() { _cache.Cache(new object()); _cache.Cache(new object()); _cache.Clear(); Assert.That(_cache.Count, Is.EqualTo(0)); }
public void Clear() { _cache.Clear(); }
public void Destroy() { componentRegistry.UnregisterAll(); componentCache.Clear(); }