Skip to content

Commit

Permalink
Update Baseline
Browse files Browse the repository at this point in the history
  • Loading branch information
justindbaur committed Apr 22, 2024
1 parent 25a71df commit 582d8a0
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -59,11 +59,13 @@ file static class SetupInterceptors
{
Matcher matchCall = (callInfo, setup) =>
{
var singleUseCallHandler = new SingleUseCallHandler();
var singleUseCallHandler = new SingleUseCallHandler<global::System.Threading.Tasks.Task<string>>();
var fake = new PretendIMyInterface(singleUseCallHandler);

var listener = MatcherListener.StartListening();
setup.Method.Invoke(setup.Target, [fake]);
listener.Dispose();

var capturedArguments = singleUseCallHandler.Arguments;

var str_capturedMatcher = listener.Matchers[0];
Expand Down

0 comments on commit 582d8a0

Please sign in to comment.