| Package | Description |
|---|---|
| org.mockito |
Mockito is a mock library for java - see Mockito class for for usage.
|
| org.mockito.exceptions.stacktrace |
Stack trace filtering / cleaning public APIs.
|
| org.mockito.internal.creation |
Mock object creation.
|
| org.mockito.internal.util.reflection |
reflection utilities
|
| org.mockito.invocation |
Public API related to invocation
|
| org.mockito.mock | |
| org.mockito.plugins |
| Modifier and Type | Interface and Description |
|---|---|
interface |
MockingDetails
Provides mocking information.
|
| Modifier and Type | Method and Description |
|---|---|
static MockingDetails |
Mockito.mockingDetails(java.lang.Object toInspect)
Returns a MockingDetails instance that enables inspecting a particular object for Mockito related information.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
StackTraceCleaner
Decides if particular StackTraceElement is excluded from the human-readable stack trace output.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AcrossJVMSerializationFeature
This is responsible for serializing a mock, it is enabled if the mock is implementing
Serializable. |
| Modifier and Type | Class and Description |
|---|---|
class |
Fields
Small fluent reflection tools to work with fields.
|
class |
GenericMetadataSupport
This class can retrieve generic meta-data that the compiler stores on classes
and accessible members.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
DescribedInvocation
Provides information about the invocation, specifically a human readable description and the location.
|
interface |
Invocation
A method call on a mock object.
|
interface |
Location
Describes the location of something in the source code.
|
interface |
MockHandler
Mockito handler of an invocation on a mock.
|
interface |
StubInfo
The information about stubbing, for example the location of stubbing.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
MockHandler.handle(Invocation invocation)
Takes an invocation object and handles it.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
MockCreationSettings<T>
Informs about the mock settings.
|
class |
SerializableMode
Mock serializable style.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
MockMaker
The facility to create mocks.
|
interface |
StackTraceCleanerProvider
An extension point to register custom
StackTraceCleaner. |