Open GoogleCodeExporter opened 8 years ago
>>What steps will reproduce the problem?
2. use one api which returns a mocked object as a parameter in thenReturn() of
another
Original comment by rajq...@gmail.com
on 19 Apr 2013 at 8:41
Hi,
This way of doing mocks is not supported. You need to write the stubs one at a
time.
It might be possible to extend the stubbing support, do you want to contribute ?
Cheers,
Brice
Original comment by brice.du...@gmail.com
on 19 Apr 2013 at 11:29
Hi,
Would have been a good to have feature which will reuse the code. Let me see
the src. Thanks for asking :-)
Rajesh
Original comment by rajq...@gmail.com
on 19 Apr 2013 at 1:23
Original comment by brice.du...@gmail.com
on 29 Apr 2013 at 4:08
Original issue reported on code.google.com by
rajq...@gmail.com
on 19 Apr 2013 at 8:40