How to mock a method to throw a particular exception in C#

后端 未结 0 1505
太阳男子
太阳男子 2021-01-23 08:33

I\'m trying to mock a method to throw a particular exception, but not able to achieve that. My method looks like -

    try
    {
        if (!ledgerStoreRequest.L         


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