Open GoogleCodeExporter opened 9 years ago
Also please note that the default Mockito behaviour of using field name as
default mock name (when an explicit @Mock(name="xyz") has not been given) does
not work either as PowerMockito instead uses the field type as base for default
mock name:
@Mock
SomeInterface abc;
@Mock
SomeInterface def;
The referred mockito-1.9.5 / MockAnnotationProcessor.process() implements this
aspect as well.
Original comment by jonas.be...@nitorcreations.com
on 17 Jan 2013 at 1:16
It could be that org.powermock.api.extension.listener.AnnotationEnabler is not
updated to reflect the latest Mockito changes. If you want to help out you're
very welcome.
Original comment by johan.ha...@gmail.com
on 22 Jan 2013 at 7:53
Original issue reported on code.google.com by
jonas.be...@nitorcreations.com
on 17 Jan 2013 at 12:21