See: Description
| Interface | Description |
|---|---|
| ArgumentMatcher<T> |
Allows creating customized argument matchers.
|
| BDDMockito.BDDMyOngoingStubbing<T> |
See original
OngoingStubbing |
| BDDMockito.BDDStubber |
See original
Stubber |
| BDDMockito.Then<T> |
Provides fluent way of mock verification.
|
| InOrder |
Allows verification in order.
|
| MockingDetails |
Provides mocking information.
|
| MockitoDebugger | Deprecated
- please use
MockingDetails.printInvocations(). |
| MockitoFramework |
Mockito framework settings and lifecycle listeners, for advanced users or for integrating with other frameworks.
|
| MockSettings |
Allows mock creation with additional mock settings.
|
| Class | Description |
|---|---|
| AdditionalAnswers |
Additional answers provides factory methods for answers.
|
| AdditionalMatchers |
See
Matchers for general info about matchers. |
| ArgumentCaptor<T> |
Use it to capture argument values for further assertions.
|
| ArgumentMatchers |
Allow flexible verification or stubbing.
|
| BDDMockito |
Behavior Driven Development style of writing tests uses //given //when //then comments as fundamental parts of your test methods.
|
| Matchers | Deprecated
Use
ArgumentMatchers. |
| Mockito |
|
| MockitoAnnotations |
MockitoAnnotations.initMocks(this); initializes fields annotated with Mockito annotations.
|
| Enum | Description |
|---|---|
| Answers |
Enumeration of pre-configured mock answers
|
| Annotation Type | Description |
|---|---|
| Captor |
Allows shorthand
ArgumentCaptor creation on fields. |
| Incubating |
The annotation conveys following information:
The API is fairly new and we would appreciate your feedback.
|
| InjectMocks |
Mark a field on which injection should be performed.
|
| Mock |
Mark a field as a mock.
|
| Spy |
Allows shorthand wrapping of field instances in an spy object.
|