Uses of Annotation Type
org.mockito.NotExtensible
Packages that use NotExtensible
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.
-
Uses of NotExtensible in org.mockito
Classes in org.mockito with annotations of type NotExtensibleModifier and TypeInterfaceDescriptioninterface
Mockito framework settings and lifecycle listeners, for advanced users or for integrating with other frameworks.interface
MockitoSession
is an optional, highly recommended feature that drives writing cleaner tests by eliminating boilerplate code and adding extra validation.interface
Allows mock creation with additional mock settings. -
Uses of NotExtensible in org.mockito.invocation
Classes in org.mockito.invocation with annotations of type NotExtensibleModifier and TypeInterfaceDescriptioninterface
A method call on a mock object.interface
Although this class is a part of public API, please don't provide your own implementations.interface
An invocation on a mock.interface
Describes the location of something in the source code. -
Uses of NotExtensible in org.mockito.mock
Classes in org.mockito.mock with annotations of type NotExtensibleModifier and TypeInterfaceDescriptioninterface
Informs about the mock settings. -
Uses of NotExtensible in org.mockito.plugins
Classes in org.mockito.plugins with annotations of type NotExtensibleModifier and TypeClassDescriptionstatic class
Static cache for types that are known to be mockable and thus may be skipped while traversing the class hierarchy.interface
Instance of this interface is available viaMockitoFramework.getPlugins()
. -
Uses of NotExtensible in org.mockito.session
Classes in org.mockito.session with annotations of type NotExtensibleModifier and TypeInterfaceDescriptioninterface
Fluent builder interface forMockitoSession
objects.interface
Logger for hints emitted when finishing mocking for aMockitoSession
. -
Uses of NotExtensible in org.mockito.stubbing
Classes in org.mockito.stubbing with annotations of type NotExtensibleModifier and TypeInterfaceDescriptioninterface
Base interface for stubbing consecutive method calls withMockito.doReturn(Object)
syntax.interface
Used for declaring optional stubbings withMockito.lenient()
interface
Simply put: "When the x method is called then return y".interface
Allows to choose a method when stubbing in doThrow()|doAnswer()|doNothing()|doReturn() styleinterface
Stubbing declared on the mock object.