nsubstitute/NSubstitute — pull request #116 by alexandrnikitin (2013-07-13 08:49:51+00:00)
Title: Partial substitute implemenation

Hi David,

I want to push my view of partial substitutes to the repository.
I use the following syntax:

// to define default behavior
var testClass = Substitute.For(ThatCallsBase.ByDefault);

// to specify exact method
var testClass = Substitute.For();
testClass.CallBaseFor().VirtualMethod();

I introduced ReturnBaseResultCallHandler into RecordReplay route.
One thing is that I didn't want to complicate everything and haven't put ReturnBaseResultCallHandler and ReturnConfiguredResultHandler on same level.
Currently ReturnConfiguredResultHandler has higher priority than ReturnBaseResultCallHandler regarding argument specification. But it's not difficult to implement, need just to make CallSpecification comparable. The question is do we need it?

Thank you.