tiebin-zhang / powermock

Automatically exported from code.google.com/p/powermock
Apache License 2.0
0 stars 0 forks source link

Add reset to PowerMockito #281

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Add reset support for static methods in Mockito.

Implementation hint:
"I just found out that using mockStatic twice basically resets the
mock. But still I think a reset method would be good because that name
clearer communicates what actually happens .."

Original issue reported on code.google.com by johan.ha...@gmail.com on 22 Sep 2010 at 1:10

GoogleCodeExporter commented 9 years ago

Original comment by johan.ha...@gmail.com on 10 Apr 2011 at 12:49

GoogleCodeExporter commented 9 years ago
How do I reset whenNew()?

Original comment by egor@technoparkcorp.com on 3 Oct 2011 at 3:59

GoogleCodeExporter commented 9 years ago
I don't think this is possible right now. If you want to help out it would be 
very appreciated. 

Original comment by johan.ha...@gmail.com on 4 Oct 2011 at 6:16