private ThrowsArgumentNullExceptionForNullKey ( ) : void | ||
return | void |
public void ThrowsArgumentNullExceptionForNullKey()
{
var cache = new CacheStorage<string, int>();
ExceptionTester.CallMethodAndExpectException<ArgumentNullException>(() => cache.Remove(null));
}