Skip to content

Commit

Permalink
Updating sample example message in README.
Browse files Browse the repository at this point in the history
  • Loading branch information
dtchepak committed Jan 2, 2012
1 parent 3b653be commit 8446ebd
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions README.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -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*)

Expand Down

0 comments on commit 8446ebd

Please sign in to comment.