Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Static Matcher Registration #5

Open
justindbaur opened this issue Nov 24, 2023 · 0 comments
Open

Static Matcher Registration #5

justindbaur opened this issue Nov 24, 2023 · 0 comments
Milestone

Comments

@justindbaur
Copy link
Owner

justindbaur commented Nov 24, 2023

Some matchers will require me to actually call the setup expression, for this I will need to generate a special version of the pretend interface that can be called and can return the captured arguments.

Right before I call the setup expression I need to setup a listener something like:

var capturer = SpecialClass();
MatcherListener.StartListening();
setupExpression(capturer);
var matcherCaptures = MatcherListener.EndListening();
var argumentCaptures = capturer.Retrieve();

// Do matching
@justindbaur justindbaur added this to the 0.2.0 milestone Nov 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant