| 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 |
Internal classes, not to be used by clients.
|
| 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.creation.proxy |
Mock makers based on the
Proxy utility. |
| org.mockito.internal.exceptions.stacktrace |
Stack trace filtering / cleaning internal APIs.
|
| org.mockito.internal.framework | |
| org.mockito.internal.junit |
JUnit integration support classes.
|
| org.mockito.internal.session | |
| org.mockito.internal.util |
Static utils
|
| org.mockito.internal.util.reflection |
Reflection utilities.
|
| 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 |
|---|
| MockMaker.ConstructionMockControl |
| MockMaker.StaticMockControl |
| 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.
|
| MemberAccessor
A member accessor is responsible for invoking methods, constructors and for setting
and reading field values.
|
| MockitoLogger
Mockito logger.
|
| MockitoPlugins
Instance of this interface is available via
MockitoFramework.getPlugins(). |
| MockMaker
The facility to create mocks.
|
| MockResolver
A mock resolver offers an opportunity to resolve a mock from any instance that is
provided to the
Mockito-DSL. |
| StackTraceCleanerProvider
An extension point to register custom
StackTraceCleaner. |
| Class and Description |
|---|
| InlineMockMaker
Extension to
MockMaker for mock makers that changes inline method implementations
and need keep track of created mock objects. |
| MockMaker
The facility to create mocks.
|
| MockMaker.ConstructionMockControl |
| MockMaker.StaticMockControl |
| 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 |
|---|
| MockMaker
The facility to create mocks.
|
| MockMaker.TypeMockability
Carries the mockability information
|
| Class and Description |
|---|
| StackTraceCleanerProvider
An extension point to register custom
StackTraceCleaner. |
| Class and Description |
|---|
| MockitoLogger
Mockito logger.
|
| MockitoPlugins
Instance of this interface is available via
MockitoFramework.getPlugins(). |
| Class and Description |
|---|
| MockitoLogger
Mockito logger.
|
| Class and Description |
|---|
| MockitoLogger
Mockito logger.
|
| Class and Description |
|---|
| MockitoLogger
Mockito logger.
|
| MockMaker.ConstructionMockControl |
| MockMaker.StaticMockControl |
| MockMaker.TypeMockability
Carries the mockability information
|
| Class and Description |
|---|
| MemberAccessor
A member accessor is responsible for invoking methods, constructors and for setting
and reading field values.
|
| MemberAccessor.OnConstruction |
| Class and Description |
|---|
| MemberAccessor.ConstructionDispatcher |
| MemberAccessor.OnConstruction |
| MockMaker
The facility to create mocks.
|
| MockMaker.ConstructionMockControl |
| MockMaker.StaticMockControl |
| MockMaker.TypeMockability
Carries the mockability information
|
Copyright © 2025. All rights reserved.