Closed GoogleCodeExporter closed 9 years ago
This is because it's impossible to byte-code manipulate Java System classes
such as Math. It's documented here:
http://code.google.com/p/powermock/wiki/MockSystem
http://blog.jayway.com/2009/05/17/mocking-static-methods-in-java-system-classes/
Original comment by johan.ha...@gmail.com
on 4 Feb 2011 at 9:32
Original comment by johan.ha...@gmail.com
on 4 Feb 2011 at 9:33
thanks a lot for your reply.
Original comment by michal.r...@gmail.com
on 4 Feb 2011 at 9:38
Original issue reported on code.google.com by
michal.r...@gmail.com
on 3 Feb 2011 at 3:39