Uses of Interface
org.mockito.invocation.Invocation
-
Packages that use Invocation Package Description org.mockito Mockito is a mock library for java - seeMockito
class for usage.org.mockito.invocation Public API related to mock method invocations.org.mockito.listeners Public classes relative to the listener APIs.org.mockito.stubbing Stubbing related classes. -
-
Uses of Invocation in org.mockito
Methods in org.mockito that return types with arguments of type Invocation Modifier and Type Method Description Collection<Invocation>
MockingDetails. getInvocations()
All method invocations on this mock. -
Uses of Invocation in org.mockito.invocation
Methods in org.mockito.invocation that return Invocation Modifier and Type Method Description Invocation
InvocationFactory. createInvocation(Object target, MockCreationSettings settings, Method method, InvocationFactory.RealMethodBehavior realMethod, Object... args)
Creates instance of anInvocation
object.Invocation
MatchableInvocation. getInvocation()
The actual invocation Mockito will match against.Methods in org.mockito.invocation with parameters of type Invocation Modifier and Type Method Description void
MatchableInvocation. captureArgumentsFrom(Invocation invocation)
This method is used by Mockito to implement argument captor functionality (seeArgumentCaptor
.Object
MockHandler. handle(Invocation invocation)
Takes an invocation object and handles it.boolean
MatchableInvocation. hasSameMethod(Invocation candidate)
Returns true if the candidate invocation has the same method (method name and parameter types)boolean
MatchableInvocation. hasSimilarMethod(Invocation candidate)
Candidate invocation has the similar method.boolean
MatchableInvocation. matches(Invocation candidate)
Same method, mock and all arguments match. -
Uses of Invocation in org.mockito.listeners
Methods in org.mockito.listeners that return Invocation Modifier and Type Method Description Invocation
StubbingLookupEvent. getInvocation()
-
Uses of Invocation in org.mockito.stubbing
Methods in org.mockito.stubbing that return Invocation Modifier and Type Method Description Invocation
Stubbing. getInvocation()
Returns the method invocation that is stubbed.
-