ahmaddarawshi / powermock

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

Preparing an interface for test causes a NPE #81

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Preparing an interface for test causes a NPE

Original issue reported on code.google.com by johan.ha...@gmail.com on 4 Dec 2008 at 2:50

GoogleCodeExporter commented 9 years ago
The @PrepareForTest annotation now accepts interaces as types. This is useful in
situations where you wan't to make sure that a certain interface is loaded by 
the
same classloader as the reset of the mocks.

Original comment by johan.ha...@gmail.com on 5 Dec 2008 at 9:32