Catel.Test.Caching.CacheStorageFacts.TheContainsMethod.ThrowsArgumentNullExceptionForNullKey C# (CSharp) Méthode

ThrowsArgumentNullExceptionForNullKey() private méthode

private ThrowsArgumentNullExceptionForNullKey ( ) : void
Résultat void
            public void ThrowsArgumentNullExceptionForNullKey()
            {
                var cache = new CacheStorage<string, int>();

                ExceptionTester.CallMethodAndExpectException<ArgumentNullException>(() => cache.Contains(null));
            }