Mockito 2.0.74-beta API

Click to see examples. Mockito 2.0.74-beta API.

Main package 
Package Description
org.mockito
Mockito is a mock library for java - see Mockito class for for usage.
Other Packages 
Package Description
org.mockito.configuration
Mockito configuration utilities
org.mockito.exceptions
Exception messages, exception hierarchies.
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 runners in IDEs.
org.mockito.hamcrest  
org.mockito.internal
Internal classes, not to be used by clients.
org.mockito.internal.configuration
Mockito configuration
org.mockito.internal.configuration.injection  
org.mockito.internal.configuration.injection.filter  
org.mockito.internal.configuration.injection.scanner  
org.mockito.internal.configuration.plugins  
org.mockito.internal.creation
Mock object creation.
org.mockito.internal.creation.bytebuddy
ByteBuddy related stuff
org.mockito.internal.creation.instance  
org.mockito.internal.creation.settings  
org.mockito.internal.creation.util
Stuff that does not have a good package yet
org.mockito.internal.debugging
Whatever helps in debugging failed tests
org.mockito.internal.exceptions  
org.mockito.internal.exceptions.stacktrace
Stack trace filtering / cleaning internal APIs.
org.mockito.internal.exceptions.util  
org.mockito.internal.hamcrest  
org.mockito.internal.handler  
org.mockito.internal.invocation
Invocation and related classes.
org.mockito.internal.invocation.finder  
org.mockito.internal.invocation.realmethod
implementations of real method calls
org.mockito.internal.junit  
org.mockito.internal.listeners  
org.mockito.internal.matchers
Argument matchers for verification and stubbing.
org.mockito.internal.matchers.apachecommons
Argument matchers that use Apache Commons Lang reflection-equality.
org.mockito.internal.matchers.text  
org.mockito.internal.progress
Mocking progress stateful classes.
org.mockito.internal.reporting
Deals with nicely printing verification errors
org.mockito.internal.runners
Internal classes for runners implementations
org.mockito.internal.runners.util
Internal utils for runner implementations
org.mockito.internal.stubbing
Stubbing logic.
org.mockito.internal.stubbing.answers
Answers for stubbed calls
org.mockito.internal.stubbing.defaultanswers
Implementations of Answer
org.mockito.internal.util
Static utils
org.mockito.internal.util.collections  
org.mockito.internal.util.io  
org.mockito.internal.util.junit  
org.mockito.internal.util.reflection
reflection utilities
org.mockito.internal.verification
Verification logic.
org.mockito.internal.verification.api
This package should be open to public once verification API is fully finished
org.mockito.internal.verification.argumentmatching
Deals with matching arguments
org.mockito.internal.verification.checkers
verification checkers
org.mockito.invocation
Public API related to invocation
org.mockito.junit  
org.mockito.listeners
Public classes relative to the call listener.
org.mockito.mock  
org.mockito.plugins
Mockito plugins allow customization of behavior.
org.mockito.runners
JUnit runners.
org.mockito.stubbing
External stubbing related classes
org.mockito.verification  
Mockito 2.0.74-beta API