Skip to content

Commit

Permalink
adding some logging
Browse files Browse the repository at this point in the history
  • Loading branch information
TimBarcz committed Sep 7, 2010
1 parent 6ddd1ad commit 4b2f916
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Rhino.Mocks/Impl/RecordMockState.cs
Expand Up @@ -175,6 +175,7 @@ public object MethodCall(IInvocation invocation, MethodInfo method, params objec
{
expectation = expectationBuilder.BuildDefaultExpectation(invocation, method, args, GetDefaultCallCountRangeExpectation);
}
RhinoMocks.Logger.Log(string.Format("{0} -> {1} ", expectation.ErrorMessage, expectation.GetType()));
repository.Recorder.Record(mockedObject, method, expectation);
LastExpectation = expectation;
methodCallsCount++;
Expand Down

0 comments on commit 4b2f916

Please sign in to comment.