Catel.Test.Caching.CacheStorageFacts.TheGetFromCacheOrFetchMethod.ThrowsArgumentNullExceptionForNullFunction C# (CSharp) Метод

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

private ThrowsArgumentNullExceptionForNullFunction ( ) : void
Результат void
            public void ThrowsArgumentNullExceptionForNullFunction()
            {
                var cache = new CacheStorage<string, int>();

                ExceptionTester.CallMethodAndExpectException<ArgumentNullException>(() => cache.GetFromCacheOrFetch("1", null));
            }