Open GoogleCodeExporter opened 8 years ago
To only problem is how to get a hold of the mocks. Perhaps the method need to
return
a "MockContext" with class as key and mock as instance? Or maybe it's just
better to
use Whitebox.setInternalStateFromContext(..) on the tested instance?
Original comment by johan.ha...@gmail.com
on 10 Sep 2009 at 9:10
Original issue reported on code.google.com by
johan.ha...@gmail.com
on 10 Sep 2009 at 6:47