MockspressoPowerMockitoPluginsJavaSupport |
object MockspressoPowerMockitoPluginsJavaSupport
Expose the extension methods defined here as MockspressoPlugins for consumption by java tests |
open class PowerMockitoConfig : MockerConfig
A MockerConfig for Powermock + Mockito |
|
open class PowerMockitoFieldPreparer : FieldPreparer
A FieldPreparer for Powermock + Mockito. Powermock doesn't seem to offer a nice way to init mocks on an arbitrary object that isn't the testClass (and the runner/rule deals with those). So to handle testResources, we use this custom FieldPreparer that expects some mocks/spies to already be initialized (and doesn't touch those). We use |
|
open class PowerMockitoMockMaker : MockMaker
Creates generic Powermock mocks |
|
open class PowerMockitoPlugin : MockspressoPlugin
Plugin that applies |
|
open class PowerMockitoRulePlugin : MockspressoPlugin
Plugin that applies |