Package | Description |
---|---|
org.mockito |
Mockito is a mock library for java - see
Mockito class for usage. |
org.mockito.invocation |
Public API related to mock method invocations.
|
org.mockito.junit |
Mockito JUnit integration ; rule and runners.
|
org.mockito.listeners |
Public classes relative to the listener APIs.
|
org.mockito.mock |
Mock settings related classes.
|
org.mockito.plugins |
Mockito plugins allow customization of behavior.
|
org.mockito.quality |
Mocking quality related classes.
|
org.mockito.session | |
org.mockito.stubbing |
Stubbing related classes.
|
org.mockito.verification |
Verification related classes.
|
Class and Description |
---|
Answers
Enumeration of pre-configured mock answers
|
ArgumentCaptor
Use it to capture argument values for further assertions.
|
ArgumentMatcher
Allows creating customized argument matchers.
|
ArgumentMatchers
Allow flexible verification or stubbing.
|
BDDMockito.BDDMyOngoingStubbing
See original
OngoingStubbing |
BDDMockito.BDDStubber
See original
Stubber |
BDDMockito.Then
Provides fluent way of mock verification.
|
CheckReturnValue
This annotation is not supposed to be used by Mockito end-users.
|
Incubating
The annotation conveys following information:
The API is fairly new and we would appreciate your feedback.
|
InOrder
Allows verification in order.
|
MockedConstruction
Represents a mock of any object construction of the represented type.
|
MockedConstruction.Context |
MockedConstruction.MockInitializer |
MockedStatic
Represents an active mock of a type's static methods.
|
MockedStatic.Verification |
MockingDetails
Provides mocking information.
|
Mockito
|
MockitoFramework
Mockito framework settings and lifecycle listeners, for advanced users or for integrating with other frameworks.
|
MockSettings
Allows mock creation with additional mock settings.
|
NotExtensible
Indicates to the user that she should not provide custom implementations of given type.
|
ScopedMock
Represents a mock with a thread-local explicit scope.
|
Class and Description |
---|
ArgumentMatcher
Allows creating customized argument matchers.
|
Incubating
The annotation conveys following information:
The API is fairly new and we would appreciate your feedback.
|
NotExtensible
Indicates to the user that she should not provide custom implementations of given type.
|
Class and Description |
---|
Incubating
The annotation conveys following information:
The API is fairly new and we would appreciate your feedback.
|
Class and Description |
---|
Incubating
The annotation conveys following information:
The API is fairly new and we would appreciate your feedback.
|
Class and Description |
---|
Incubating
The annotation conveys following information:
The API is fairly new and we would appreciate your feedback.
|
NotExtensible
Indicates to the user that she should not provide custom implementations of given type.
|
Class and Description |
---|
Incubating
The annotation conveys following information:
The API is fairly new and we would appreciate your feedback.
|
MockedConstruction.Context |
MockedConstruction.MockInitializer |
Class and Description |
---|
Incubating
The annotation conveys following information:
The API is fairly new and we would appreciate your feedback.
|
Class and Description |
---|
Incubating
The annotation conveys following information:
The API is fairly new and we would appreciate your feedback.
|
MockitoSession
MockitoSession is an optional, highly recommended feature
that helps driving cleaner tests by eliminating boilerplate code and adding extra validation. |
NotExtensible
Indicates to the user that she should not provide custom implementations of given type.
|
Class and Description |
---|
CheckReturnValue
This annotation is not supposed to be used by Mockito end-users.
|
Incubating
The annotation conveys following information:
The API is fairly new and we would appreciate your feedback.
|
NotExtensible
Indicates to the user that she should not provide custom implementations of given type.
|
Class and Description |
---|
Incubating
The annotation conveys following information:
The API is fairly new and we would appreciate your feedback.
|