@Target({TYPE,METHOD}) @Retention(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.
Copyright © 2007–2019. All rights reserved.