Add .ThrowsAsync() that will correctly mock exception on async methods#663
Add .ThrowsAsync() that will correctly mock exception on async methods#663dtchepak merged 3 commits intonsubstitute:mainfrom
.ThrowsAsync() that will correctly mock exception on async methods#663Conversation
|
I'm unsure about some part, I had to add I did use some reflection to find the appropriate |
|
Thanks a lot for this! It looks great! I'm playing around with some ideas for reducing the scope of the |
|
I've updated the PR with your changes |
|
Thanks @Socolin ! Sorry for the delay in merging and my incomplete PR 🤦 |
That's great news :) Thanks to have taken time for this. |
It should fix #609