Esempio n. 1
0
        public void AddIndexFuncSuccess()
        {
            var cache = new Cache <V1Pod>();

            cache.AddIndexFunc("1", pod => new List <string>()
            {
                pod.Name()
            });

            var savedIndexers = cache.GetIndexers();

            savedIndexers.Should().HaveCount(2);

            // Todo: check indicies collection for new indexname keys
        }