
Mockito framework site
A landing page for information about Mockito framework, a mocking framework for unit tests written in Java.
Mockito (Mockito 2.2.7 API)
Mockito now preserves annotations on mocked methods and types as well as generic meta data. Previously, a mock type did not preserve annotations on types unless they were explicitly …
ArgumentMatchers (Mockito 2.2.7 API)
With Java 8 this method will be removed in Mockito 3.0. This method is only used for generic friendliness to avoid casting, this is not anymore needed in Java 8.
Overview (Mockito 2.2.7 API)
Click to see examples. Mockito 2.2.7 API. ... Overview Package Class Use Tree Deprecated Index Help Mockito 2.2.7 API PREV NEXT FRAMES NO FRAMES
InjectMocks (Mockito 2.2.7 API)
Mockito will try to inject mocks only either by constructor injection, setter injection, or property injection in order and as described below. If any of the following strategy fail, then Mockito …
MockitoAnnotations (Mockito 2.2.7 API)
Initializes objects annotated with Mockito annotations for given testClass: @ Mock, @ Spy, @ Captor, @ InjectMocks See examples in javadoc for MockitoAnnotations class.
Overview (Mockito 2.2.7 API)
Click to see examples. Mockito 2.2.7 API.
org.mockito.exceptions.verification.junit (Mockito 2.2.7 API)
org.mockito.exceptions.verification.junitErrors ArgumentsAreDifferent
WantedButNotInvoked (Mockito 2.2.7 API)
Mockito 2.2.7 API All Classes Packages org.mockito org.mockito.configuration org.mockito.exceptions.base org.mockito.exceptions.misusing …
UnfinishedVerificationException (Mockito 2.2.7 API)
Mockito 2.2.7 API All Classes Packages org.mockito org.mockito.configuration org.mockito.exceptions.base org.mockito.exceptions.misusing …