Uses of Interface
org.mockito.invocation.Invocation
Package
Description
Mockito is a mock library for java - see
Mockito
class for usage.Public API related to mock method invocations.
Public classes relative to the listener APIs.
Stubbing related classes.
-
Uses of Invocation in org.mockito
Modifier and TypeMethodDescriptionMockingDetails.getInvocations()
All method invocations on this mock. -
Uses of Invocation in org.mockito.invocation
Modifier and TypeMethodDescriptionInvocationFactory.createInvocation
(Object target, MockCreationSettings settings, Method method, InvocationFactory.RealMethodBehavior realMethod, Object... args) Creates instance of anInvocation
object.MatchableInvocation.getInvocation()
The actual invocation Mockito will match against.Modifier and TypeMethodDescriptionvoid
MatchableInvocation.captureArgumentsFrom
(Invocation invocation) This method is used by Mockito to implement argument captor functionality (seeArgumentCaptor
.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
-
Uses of Invocation in org.mockito.stubbing
Modifier and TypeMethodDescriptionStubbing.getInvocation()
Returns the method invocation that is stubbed.