@Target(value={TYPE,METHOD})
@Retention(value=RUNTIME)
@Documented
@Inherited
public @interface PrepareEverythingForTest
The annotation should always be combined with the
@RunWith(PowerMockRunner.class) if using junit 4.x or
public static TestSuite suite() throws Exception {
return new PowerMockSuite(MyTestCase.class);
}
if using junit3.