Uses of Interface
org.mockito.stubbing.Stubbing
Packages that use Stubbing
Package
Description
Mockito is a mock library for java - see
Mockito
class for usage.JUnit integration support classes.
Stubbing logic.
Static utils
Public classes relative to the listener APIs.
-
Uses of Stubbing in org.mockito
Methods in org.mockito that return types with arguments of type StubbingModifier and TypeMethodDescriptionMockingDetails.getStubbings()
Returns stubbings declared on this mock object. -
Uses of Stubbing in org.mockito.internal.invocation.finder
Methods in org.mockito.internal.invocation.finder that return types with arguments of type StubbingModifier and TypeMethodDescriptionAllInvocationsFinder.findStubbings
(Iterable<?> mocks) Gets all stubbings from mocks. -
Uses of Stubbing in org.mockito.internal.junit
Fields in org.mockito.internal.junit with type parameters of type StubbingModifier and TypeFieldDescriptionprivate final Collection
<? extends Stubbing> UnusedStubbings.unused
Method parameters in org.mockito.internal.junit with type arguments of type StubbingModifier and TypeMethodDescriptionprivate static List
<Invocation> DefaultStubbingLookupListener.potentialArgMismatches
(Invocation invocation, Collection<Stubbing> stubbings) Constructor parameters in org.mockito.internal.junit with type arguments of type StubbingModifierConstructorDescription(package private)
UnusedStubbings
(Collection<? extends Stubbing> unused) -
Uses of Stubbing in org.mockito.internal.listeners
Fields in org.mockito.internal.listeners declared as StubbingFields in org.mockito.internal.listeners with type parameters of type StubbingModifier and TypeFieldDescriptionprivate final Collection
<Stubbing> StubbingLookupNotifier.Event.allStubbings
Methods in org.mockito.internal.listeners that return StubbingMethods in org.mockito.internal.listeners that return types with arguments of type StubbingMethods in org.mockito.internal.listeners with parameters of type StubbingModifier and TypeMethodDescriptionstatic void
StubbingLookupNotifier.notifyStubbedAnswerLookup
(Invocation invocation, Stubbing stubbingFound, Collection<Stubbing> allStubbings, CreationSettings creationSettings) Method parameters in org.mockito.internal.listeners with type arguments of type StubbingModifier and TypeMethodDescriptionstatic void
StubbingLookupNotifier.notifyStubbedAnswerLookup
(Invocation invocation, Stubbing stubbingFound, Collection<Stubbing> allStubbings, CreationSettings creationSettings) Constructors in org.mockito.internal.listeners with parameters of type StubbingModifierConstructorDescriptionEvent
(Invocation invocation, Stubbing stubbing, Collection<Stubbing> allStubbings, MockCreationSettings mockSettings) Constructor parameters in org.mockito.internal.listeners with type arguments of type StubbingModifierConstructorDescriptionEvent
(Invocation invocation, Stubbing stubbing, Collection<Stubbing> allStubbings, MockCreationSettings mockSettings) -
Uses of Stubbing in org.mockito.internal.stubbing
Classes in org.mockito.internal.stubbing that implement StubbingMethods in org.mockito.internal.stubbing that return types with arguments of type StubbingModifier and TypeMethodDescriptionInvocationContainerImpl.getStubbingsAscending()
Stubbings in ascending order, most recent lastMethods in org.mockito.internal.stubbing with parameters of type StubbingModifier and TypeMethodDescriptionint
static Strictness
StrictnessSelector.determineStrictness
(Stubbing stubbing, MockCreationSettings mockSettings, Strictness testLevelStrictness) Determines the actual strictness in the following importance order: 1st - strictness configured when declaring stubbing; 2nd - strictness configured at mock level; 3rd - strictness configured at test level (rule, mockito session)static boolean
UnusedStubbingReporting.shouldBeReported
(Stubbing stubbing) Decides if the stubbing should be reported as unused. -
Uses of Stubbing in org.mockito.internal.util
Methods in org.mockito.internal.util that return types with arguments of type Stubbing -
Uses of Stubbing in org.mockito.listeners
Methods in org.mockito.listeners that return StubbingMethods in org.mockito.listeners that return types with arguments of type Stubbing