Name | Description | Type | Package | Framework |
Mock | This annotation can be placed on those fields in your test class that should be mocked. | Class | org.powermock.core.classloader.annotations | PowerMock |
MockPolicy | A Mock Policy can be used to make it easier to unit test some code with PowerMock in isolation from a certain framework. | Class | org.powermock.core.classloader.annotations | PowerMock |
PowerMockIgnore | This annotation tells PowerMock to defer the loading of classes with the names supplied to value() to the system classloader. | Class | org.powermock.core.classloader.annotations | PowerMock |
PowerMockListener | The PowerMock listener annotation can be used to tell PowerMock which listeners should be instantiated and invoked during a test. | Class | org.powermock.core.classloader.annotations | PowerMock |
PrepareEverythingForTest | This annotation tells PowerMock to prepare all classes (except certain system and test related classes) for test. | Class | org.powermock.core.classloader.annotations | PowerMock |
PrepareForTest | This annotation tells PowerMock to prepare certain classes for testing. | Class | org.powermock.core.classloader.annotations | PowerMock |
PrepareOnlyThisForTest | This annotation tells PowerMock to prepare certain classes for testing. | Class | org.powermock.core.classloader.annotations | PowerMock |
SuppressStaticInitializationFor | Use this annotation to suppress static initializers (constructors) for one or The reason why an annotation is needed for this is because we need to know at | Class | org.powermock.core.classloader.annotations | PowerMock |