And the reason I use a mocking framework is so that when my interface
changes, I've not broken a pile of test stubs... But I agree with
Moandji that in some edge cases you're better off creating a stub
implementation instead. Again, if you need to do this too often then
I'd treat it as a code smell.

On Mar 3, 1:44 pm, Fabrizio Giudici <[email protected]>
wrote:
>
> If I had interface declarations for everything, for sure I can
> mock-without-framework by just creating mock classes that implement the
> interfaces.
>

-- 
You received this message because you are subscribed to the Google Groups "The 
Java Posse" group.
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/javaposse?hl=en.

Reply via email to