See: Description
| Interface | Description |
|---|---|
| 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 | |
| MockSettings |
Allows mock creation with additional mock settings.
|
| ReturnValues | Deprecated
Instead, please use
Answer interface |
| Class | Description |
|---|---|
| AdditionalAnswers |
Additional answers provides factory methods for less common answers.
|
| AdditionalMatchers |
See
Matchers for general info about matchers. |
| ArgumentCaptor<T> |
Use it to capture argument values for further assertions.
|
| ArgumentMatcher<T> |
Allows creating customized argument matchers.
|
| BDDMockito |
Behavior Driven Development style of writing tests uses //given //when //then comments as fundamental parts of your test methods.
|
| BDDMockito.BDDOngoingStubbingImpl<T> | Deprecated
not part of the public API, use
BDDMockito.BDDMyOngoingStubbing instead. |
| BDDMockito.BDDStubberImpl | Deprecated
not part of the public API, use
BDDMockito.BDDStubber instead. |
| Matchers |
Allow flexible verification or stubbing.
|
| 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.
|
| MockitoAnnotations.Mock | Deprecated |
| Spy |
Allows shorthand wrapping of field instances in an spy object.
|