Catel.Test.Caching.CacheStorageFacts.TheRemoveMethod.ThrowsArgumentNullExceptionForNullKey C# (CSharp) Method

ThrowsArgumentNullExceptionForNullKey() private method

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

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