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

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

private Cannot_Enumerate_As_Not_Supported_By_Ehcache_Server ( ) : void
Результат void
        public void Cannot_Enumerate_As_Not_Supported_By_Ehcache_Server()
        {
            var dictionary = new EhcacheServerDictionary(endpoint, "sampleCache1");
            try
            {
                dictionary.GetEnumerator();
                Assert.Fail("Should have thrown a NotImplementedException");
            }
            catch (NotImplementedException)
            {
                // This is to be expected.
            }
        }
    }