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

NS5000 is not reported for ReceivedExtensions.Received calls #131

Closed
tpodolak opened this issue Jan 26, 2020 · 0 comments · Fixed by #132
Closed

NS5000 is not reported for ReceivedExtensions.Received calls #131

tpodolak opened this issue Jan 26, 2020 · 0 comments · Fixed by #132
Assignees
Labels
bug Something isn't working
Milestone

Comments

@tpodolak
Copy link
Member

tpodolak commented Jan 26, 2020

Repro

using NSubstitute;
using NSubstitute.ReceivedExtensions;

namespace MyNamespace
{
    public class FooTests
    {
        public class Foo
        {
            public int Id { get; }
        }
        
        public void Test()
        {
            var secondSubstitute = Substitute.For<Foo>();
            
            secondSubstitute.Received(Quantity.AtLeastOne());
        }
    } 
}
@tpodolak tpodolak self-assigned this Jan 26, 2020
@tpodolak tpodolak added the bug Something isn't working label Jan 26, 2020
tpodolak added a commit that referenced this issue Feb 2, 2020
tpodolak added a commit that referenced this issue Feb 2, 2020
tpodolak added a commit that referenced this issue Feb 2, 2020
tpodolak added a commit that referenced this issue Feb 2, 2020
tpodolak added a commit that referenced this issue Feb 2, 2020
tpodolak added a commit that referenced this issue Feb 2, 2020
tpodolak added a commit that referenced this issue Feb 4, 2020
@tpodolak tpodolak added this to the 1.0.12 milestone Feb 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
1 participant