private ThrowsArgumentNullExceptionForNullFunction ( ) : void | ||
리턴 | void |
public void ThrowsArgumentNullExceptionForNullFunction()
{
var cache = new CacheStorage<string, int>();
ExceptionTester.CallMethodAndExpectException<ArgumentNullException>(() => cache.GetFromCacheOrFetch("1", null));
}