Uses of Interface
org.mockito.stubbing.Stubbing
-
Packages that use Stubbing Package Description org.mockito Mockito is a mock library for java - seeMockito
class for usage.org.mockito.internal.invocation.finder org.mockito.internal.junit JUnit integration support classes.org.mockito.internal.listeners org.mockito.internal.stubbing Stubbing logic.org.mockito.internal.util Static utilsorg.mockito.listeners Public classes relative to the listener APIs. -
-
Uses of Stubbing in org.mockito
Methods in org.mockito that return types with arguments of type Stubbing Modifier and Type Method Description java.util.Collection<Stubbing>
MockingDetails. 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 Stubbing Modifier and Type Method Description static java.util.Set<Stubbing>
AllInvocationsFinder. findStubbings(java.lang.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 Stubbing Modifier and Type Field Description private java.util.Collection<? extends Stubbing>
UnusedStubbings. unused
Method parameters in org.mockito.internal.junit with type arguments of type Stubbing Modifier and Type Method Description private static java.util.List<Invocation>
DefaultStubbingLookupListener. potentialArgMismatches(Invocation invocation, java.util.Collection<Stubbing> stubbings)
Constructor parameters in org.mockito.internal.junit with type arguments of type Stubbing Constructor Description UnusedStubbings(java.util.Collection<? extends Stubbing> unused)
-
Uses of Stubbing in org.mockito.internal.listeners
Fields in org.mockito.internal.listeners declared as Stubbing Modifier and Type Field Description private Stubbing
StubbingLookupNotifier.Event. stubbing
Fields in org.mockito.internal.listeners with type parameters of type Stubbing Modifier and Type Field Description private java.util.Collection<Stubbing>
StubbingLookupNotifier.Event. allStubbings
Methods in org.mockito.internal.listeners that return Stubbing Modifier and Type Method Description Stubbing
StubbingLookupNotifier.Event. getStubbingFound()
Methods in org.mockito.internal.listeners that return types with arguments of type Stubbing Modifier and Type Method Description java.util.Collection<Stubbing>
StubbingLookupNotifier.Event. getAllStubbings()
Methods in org.mockito.internal.listeners with parameters of type Stubbing Modifier and Type Method Description static void
StubbingLookupNotifier. notifyStubbedAnswerLookup(Invocation invocation, Stubbing stubbingFound, java.util.Collection<Stubbing> allStubbings, CreationSettings creationSettings)
Method parameters in org.mockito.internal.listeners with type arguments of type Stubbing Modifier and Type Method Description static void
StubbingLookupNotifier. notifyStubbedAnswerLookup(Invocation invocation, Stubbing stubbingFound, java.util.Collection<Stubbing> allStubbings, CreationSettings creationSettings)
Constructors in org.mockito.internal.listeners with parameters of type Stubbing Constructor Description Event(Invocation invocation, Stubbing stubbing, java.util.Collection<Stubbing> allStubbings, MockCreationSettings mockSettings)
Constructor parameters in org.mockito.internal.listeners with type arguments of type Stubbing Constructor Description Event(Invocation invocation, Stubbing stubbing, java.util.Collection<Stubbing> allStubbings, MockCreationSettings mockSettings)
-
Uses of Stubbing in org.mockito.internal.stubbing
Classes in org.mockito.internal.stubbing that implement Stubbing Modifier and Type Class Description class
StubbedInvocationMatcher
Methods in org.mockito.internal.stubbing that return types with arguments of type Stubbing Modifier and Type Method Description java.util.Collection<Stubbing>
InvocationContainerImpl. getStubbingsAscending()
Stubbings in ascending order, most recent lastjava.util.List<Stubbing>
InvocationContainerImpl. getStubbingsDescending()
Stubbings in descending order, most recent firstMethods in org.mockito.internal.stubbing with parameters of type Stubbing Modifier and Type Method Description int
StubbingComparator. compare(Stubbing o1, Stubbing o2)
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 Modifier and Type Method Description java.util.Collection<Stubbing>
DefaultMockingDetails. getStubbings()
-
Uses of Stubbing in org.mockito.listeners
Methods in org.mockito.listeners that return Stubbing Modifier and Type Method Description Stubbing
StubbingLookupEvent. getStubbingFound()
Methods in org.mockito.listeners that return types with arguments of type Stubbing Modifier and Type Method Description java.util.Collection<Stubbing>
StubbingLookupEvent. getAllStubbings()
-