We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
[Test] public void SubscribeToEventBeforeOpeningConnection() { var connection = Substitute.For<IConnection>(); connection.SomethingHappened += () => { /* some event handler */ }; connection.Open(); Received.InOrder(() => { connection.SomethingHappened += Arg.Any<Action>(); <-- NS1004 connection.Open(); }); }
The code above rises NS1004 warning even though it is a valid NSubstitute configuration - see https://nsubstitute.github.io/help/received-in-order/
The text was updated successfully, but these errors were encountered:
[GH-147] - proper handling of event assignments for Arg.Any like methods
c09694d
ec1cf45
adce2fd
[GH-147] - proper handling of event assignments for Arg.Any like meth…
d242a71
…ods (#149)
1126917
f9f0ff8
Successfully merging a pull request may close this issue.
The code above rises NS1004 warning even though it is a valid NSubstitute configuration - see https://nsubstitute.github.io/help/received-in-order/
The text was updated successfully, but these errors were encountered: