Is the following possible -
var stub1 = MockRepository.GenerateStub();
var stub2 = MockRepository.GenerateStub();
int returnValue = 1;
stub2.Stub(x => x.stub2Method(Arg.Is.Anything).Return(returnValue).Repeat.Once();
Stub1.Stub(x =>x.stub1Method(Arg.Is.Anything)).Repeat.Once().Return(stub2);
i.e. can a stub with expectations be returned from a stub?
in my code ...