AjaxControlToolkit.Tests.BundleResolverTests.Caching_SetMethodIsNotCalledIfCacheIsFull C# (CSharp) Метод

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

private Caching_SetMethodIsNotCalledIfCacheIsFull ( ) : void
Результат void
        public void Caching_SetMethodIsNotCalledIfCacheIsFull()
        {
            _moqCache.Setup(c => c.Get<string>(CacheConfigName)).Returns(File.ReadAllText(TestConfigPath));

            var resolver = new BundleResolver(_moqCache.Object);
            resolver.GetControlTypesInBundles(null, TestConfigPath);
            _moqCache.Verify(c => c.Set(CacheConfigName, It.IsAny<string>(), It.IsAny<string>()), Times.Never());
        }