How to mock a stream.CopyToAsync() method?

前端 未结 0 1444
囚心锁ツ
囚心锁ツ 2020-12-16 02:46

I want to write an Nunit test case in c# to test a code which throws an exception when upload fails due to no available disk space.This is the part of code that I want to mo

相关标签:
回答
  • 消灭零回复
提交回复
热议问题