Open GoogleCodeExporter opened 8 years ago
Hi,
You could use a RETURNS_DEEP_STUB answer, but that won't be a spy. I don't
think that's possible now.
I'd like to add that having a mock returning a mock is wrong, it's breaking the
Demeter law which means the code forgot to give object behavior responsibility,
which means fragmented behavior throughout the code.
Anyway if you feel it's that legitimate you can still craft your own answer,
Mockito is quite extensible :)
Original comment by brice.du...@gmail.com
on 13 Nov 2013 at 9:49
Original issue reported on code.google.com by
bhaskar....@gmail.com
on 11 Jun 2013 at 10:46