public void Cache(object obj) { if (obj is null) { throw new ArgumentNullException(nameof(obj)); } _cache.Cache(obj); }
public void Cache_One_CountIncreases() { _cache.Cache(new object()); Assert.That(_cache.Count, Is.EqualTo(1)); }