Hi there!

If it's possible to change mock behaviour in Rhino Mocks using 
mock.Stub().Return(), why do we need Stubs anyway?

What do we lose by always using MockRepository.GenerateMock()?

One big benefit of using Mocks instead of Stubs is that we will be able to 
reuse the same instance among all the tests keeping them cleaner and 
straightforward.

The moq framework works in a similar way... we don't have different objects 
for mocks and stubs.

tks in advance!
Marcelo Oliveira

-- 
You received this message because you are subscribed to the Google Groups 
"Rhino.Mocks" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/rhinomocks/-/aLsxDcq8e0UJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rhinomocks?hl=en.

Reply via email to