Closed GoogleCodeExporter closed 9 years ago
Original comment by johan.ha...@gmail.com
on 2 Jun 2009 at 5:39
You can now mock new instance calls to final system classes in the same was
you'd
mock any other new instance call. However if you want to setup expectations for
the
final system class mock returned by expectNew you must also prepare the actual
test
case using @PrepareForTest.
Original comment by johan.ha...@gmail.com
on 30 Jul 2009 at 2:25
Original issue reported on code.google.com by
johan.ha...@gmail.com
on 23 Apr 2009 at 6:48