Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Updating sample example message in README.

  • Loading branch information...
commit 8446ebdcc6ecd12c4577186228beb90907a5121b 1 parent 3b653be
@dtchepak dtchepak authored
Showing with 4 additions and 2 deletions.
  1. +4 −2 README.markdown
View
6 README.markdown
@@ -57,9 +57,11 @@ We can check that our substitute received a call, and did not receive others:
If our Received() assertion fails, NSubstitute tries to give us some help as to what the problem might be:
- NSubstitute.Exceptions.CallNotReceivedException : Expected to receive call:
+
+ NSubstitute.Exceptions.ReceivedCallsException : Expected to receive a call matching:
Add(1, 2)
- Actually received (non-matching arguments indicated with '*' characters):
+ Actually received no matching calls.
+ Received 2 non-matching calls (non-matching arguments indicated with '*' characters):
Add(1, *5*)
Add(*4*, *7*)
Please sign in to comment.
Something went wrong with that request. Please try again.