AgileWallaby.Ehcache.Test.EhcacheServerDictionaryTest.Cannot_Iterate_Through_Values_As_Not_Supported_By_Ehcache_Server C# (CSharp) Метод

Cannot_Iterate_Through_Values_As_Not_Supported_By_Ehcache_Server() приватный Метод

private Cannot_Iterate_Through_Values_As_Not_Supported_By_Ehcache_Server ( ) : void
Результат void
        public void Cannot_Iterate_Through_Values_As_Not_Supported_By_Ehcache_Server()
        {
            var dictionary = new EhcacheServerDictionary(endpoint, "sampleCache1");

            try
            {
                var values = dictionary.Values;
                Assert.Fail("Should have thrown a NotImplementedException");
            }
            catch (NotImplementedException)
            {
                // This is to be expected.
            }
        }