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

Replace LambdaExpressionPart with InvocationShape #776

Merged
merged 13 commits into from
Mar 8, 2019

Conversation

stakx
Copy link
Contributor

@stakx stakx commented Mar 8, 2019

This is a step-by-step refactoring with the sole (AFAIK) side-effect of argument matchers being created from expressions a little earlier than was the case so far... which is actually good from a validation perspective.

The rationale behind this refactoring is that we want to further improve handling of recursive / fluent expressions. There are still cases where arguments in intermediate parts of such expressions are still just treated like It.IsAny<TArg>(). If we want to improve this, we'll need access to any Setup's Arguments for comparison before creating a new InnerMockSetup.

@stakx stakx added this to the 4.11.0 milestone Mar 8, 2019
@stakx stakx merged commit b88a1bc into devlooped:master Mar 8, 2019
@stakx stakx deleted the replace-lambdaexpressionpart branch March 8, 2019 15:03
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

Successfully merging this pull request may close these issues.

None yet

1 participant