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 TypeInterfaceDescriptioninterfaceMockito framework settings and lifecycle listeners, for advanced users or for integrating with other frameworks.interfaceMockitoSessionis an optional, highly recommended feature that drives writing cleaner tests by eliminating boilerplate code and adding extra validation.interfaceAllows mock creation with additional mock settings. -
Uses of NotExtensible in org.mockito.invocation
Classes in org.mockito.invocation with annotations of type NotExtensibleModifier and TypeInterfaceDescriptioninterfaceA method call on a mock object.interfaceAlthough this class is a part of public API, please don't provide your own implementations.interfaceAn invocation on a mock.interfaceDescribes 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 TypeInterfaceDescriptioninterfaceInforms about the mock settings. -
Uses of NotExtensible in org.mockito.plugins
Classes in org.mockito.plugins with annotations of type NotExtensibleModifier and TypeClassDescriptionstatic classStatic cache for types that are known to be mockable and thus may be skipped while traversing the class hierarchy.interfaceInstance 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 TypeInterfaceDescriptioninterfaceFluent builder interface forMockitoSessionobjects.interfaceLogger 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 TypeInterfaceDescriptioninterfaceBase interface for stubbing consecutive method calls withMockito.doReturn(Object)syntax.interfaceUsed for declaring optional stubbings withMockito.lenient()interfaceSimply put: "When the x method is called then return y".interfaceAllows to choose a method when stubbing in doThrow()|doAnswer()|doNothing()|doReturn() styleinterfaceStubbing declared on the mock object.