Package | Description |
---|---|
org.mockito.plugins |
Mockito plugins allow customization of behavior.
|
Modifier and Type | Method and Description |
---|---|
default <T> MockMaker.StaticMockControl<T> |
MockMaker.createStaticMock(Class<T> type,
MockCreationSettings<T> settings,
MockHandler handler)
If you want to provide your own implementation of
MockMaker this method should:
Alter the supplied class to only change its behavior in the current thread.
Only alters the static method's behavior after being enabled.
Stops the altered behavior when disabled.
|