IMockedRequestMatcher should have MatchesAsync
pengweiqhca opened this issue · 2 comments
pengweiqhca commented
Current, Matches
is a synchronized method, there is a situation where asynchronous method are invoked synchronously.
richardszalay commented
Hi, is this hypothetical or do you have a repro where blocking on an async call within a test environment (where streams typically originate from in-memory sources) causes a deadlock?
pengweiqhca commented
No deadlock, but have a hidden danger.