private LruCache<string, string> GetCache(int maxItems, int count) { var cache = new LruCache<string, string>(maxItems); for (int i = 0; i < count; i++) { cache.AddOrUpdate("key" + i, "value" + i); } return cache; }