EdwinLi / powermock

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

Add support for mock aliases #96

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Both EasyMock and Mockito have support for mock aliases, the PowerMock API 
should have support for this as well.

Original issue reported on code.google.com by johan.ha...@gmail.com on 25 Mar 2009 at 5:56

GoogleCodeExporter commented 9 years ago

Original comment by jan.kron...@gmail.com on 27 Apr 2009 at 4:56

GoogleCodeExporter commented 9 years ago

Original comment by johan.ha...@gmail.com on 7 Sep 2009 at 7:14

GoogleCodeExporter commented 9 years ago
Can I help?

Is too complex? Because I am new to powermock code.

Original comment by cristian...@gmail.com on 23 Jul 2014 at 9:02

GoogleCodeExporter commented 9 years ago
I don't think it should be that difficult since both EasyMock and Mockit API:s 
supports it. I think the API's would need to be modified with additional 
overloaded methods for aliases. The aliases must then be delegated to the 
correct methods in the underluying API (EasyMock and Mockito).

Original comment by johan.ha...@gmail.com on 23 Jul 2014 at 6:41