Click to see examples. Mockito 5.1.1 API.

All Packages Main package Other Packages 
Package Description
org.mockito
Mockito is a mock library for java - see Mockito class for usage.
org.mockito.codegen  
org.mockito.configuration
Mockito configuration utilities.
org.mockito.creation.instance  
org.mockito.exceptions.base
Base classes for exceptions and errors, stack trace filtering/removing logic.
org.mockito.exceptions.misusing
Exceptions thrown when Mockito is misused.
org.mockito.exceptions.stacktrace
Stack trace filtering / cleaning public APIs.
org.mockito.exceptions.verification
Verification errors.
org.mockito.exceptions.verification.junit
JUnit integration to provide better support for JUnit 4 and earlier in IDEs.
org.mockito.exceptions.verification.opentest4j
Integration to provide better support for IDEs that support OpenTest4J.
org.mockito.hamcrest
Mockito Hamcrest matcher integration.
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.