Uses of Package
org.mockito
Package
Description
Mockito is a mock library for java - see
Mockito
class for usage.Public API related to mock method invocations.
Mock settings related classes.
Mockito plugins allow customization of behavior.
Stubbing related classes.
-
ClassDescriptionEnumeration of pre-configured mock answersUse it to capture argument values for further assertions.Allows creating customized argument matchers.Allow flexible verification or stubbing.See original
OngoingStubbing
See originalStubber
Provides fluent way of mock verification.This annotation is not supposed to be used by Mockito end-users.Allows verification in order.Represents a mock of any object construction of the represented type.The context for a construction mock.Functional interface that consumes a newly created mock and the mock context.Represents an active mock of a type's static methods.Functional interface for a verification operation on a static mock.Provides mocking information.Mockito framework settings and lifecycle listeners, for advanced users or for integrating with other frameworks.Allows mock creation with additional mock settings.Indicates to the user that she should not provide custom implementations of given type.Represents a mock with a thread-local explicit scope. -
ClassDescriptionAllows creating customized argument matchers.Indicates to the user that she should not provide custom implementations of given type.
-
ClassDescriptionIndicates to the user that she should not provide custom implementations of given type.
-
ClassDescriptionThe context for a construction mock.Functional interface that consumes a newly created mock and the mock context.Indicates to the user that she should not provide custom implementations of given type.
-
ClassDescription
MockitoSession
is an optional, highly recommended feature that drives writing cleaner tests by eliminating boilerplate code and adding extra validation.Indicates to the user that she should not provide custom implementations of given type. -
ClassDescriptionThis annotation is not supposed to be used by Mockito end-users.Indicates to the user that she should not provide custom implementations of given type.