Hello,
I've got a scenario where null may be returned from a method. I would
like to test both scenarios of when that method returns null or not.
Is there a way to express that, I tried the following where repository
is my substitute and it doesn't work. I am using NSubstitute 1.3.
Any thoughts? Thanks!
repository.Find(id).Returns(null);