Package | Description |
---|---|
org.mockito |
Mockito is a mock library for java - see
Mockito class for usage. |
org.mockito.configuration |
Mockito configuration utilities.
|
org.mockito.internal.configuration |
Mockito configuration.
|
org.mockito.internal.configuration.plugins |
Mockito plugins configuration machinery.
|
org.mockito.internal.creation.bytebuddy |
ByteBuddy related stuff.
|
org.mockito.internal.creation.instance | |
org.mockito.internal.exceptions.stacktrace |
Stack trace filtering / cleaning internal APIs.
|
org.mockito.internal.framework | |
org.mockito.internal.util |
Static utils
|
org.mockito.plugins |
Mockito plugins allow customization of behavior.
|
Class and Description |
---|
MockitoPlugins
Instance of this interface is available via
MockitoFramework.getPlugins() . |
Class and Description |
---|
AnnotationEngine
Configures test via annotations.
|
Class and Description |
---|
AnnotationEngine
Configures test via annotations.
|
Class and Description |
---|
AnnotationEngine
Configures test via annotations.
|
InstantiatorProvider2
Mockito will invoke this interface in order to fetch an instance instantiator provider.
|
MockitoPlugins
Instance of this interface is available via
MockitoFramework.getPlugins() . |
MockMaker
The facility to create mocks.
|
PluginSwitch
Allows switching off the plugins that are discovered on classpath.
|
StackTraceCleanerProvider
An extension point to register custom
StackTraceCleaner . |
Class and Description |
---|
MockMaker
The facility to create mocks.
|
MockMaker.TypeMockability
Carries the mockability information
|
Class and Description |
---|
InstantiatorProvider
Deprecated.
since 2.15.4 because this internal class was leaking from the public API.
For more information why deprecated, see
InstantiatorProvider2 and
Issue 1303
Mockito will invoke this interface in order to fetch an instance instantiator provider. By default, an internal byte-buddy/asm/objenesis based implementation is used. Using the extension point
The plugin mechanism of mockito works in a similar way as the
Note that if several
So just create a custom implementation of
This class is deprecated and was replaced by
|
InstantiatorProvider2
Mockito will invoke this interface in order to fetch an instance instantiator provider.
|
Class and Description |
---|
StackTraceCleanerProvider
An extension point to register custom
StackTraceCleaner . |
Class and Description |
---|
MockitoPlugins
Instance of this interface is available via
MockitoFramework.getPlugins() . |
Class and Description |
---|
MockMaker
The facility to create mocks.
|
MockMaker.TypeMockability
Carries the mockability information
|
Class and Description |
---|
MockMaker
The facility to create mocks.
|
MockMaker.TypeMockability
Carries the mockability information
|