Catel.Test.Caching.CacheStorageFacts.TheAddMethod.ThrowsArgumentNullExceptionForNullValueIfNotAllowNullValues C# (CSharp) Method

ThrowsArgumentNullExceptionForNullValueIfNotAllowNullValues() private method

            public void ThrowsArgumentNullExceptionForNullValueIfNotAllowNullValues()
            {
                var cache = new CacheStorage<string, object>();

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