Uses of Interface
org.mockito.invocation.Invocation
Packages that use 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
Methods in org.mockito that return types with arguments of type InvocationModifier and TypeMethodDescriptionMockingDetails.getInvocations()All method invocations on this mock. -
Uses of Invocation in org.mockito.invocation
Methods in org.mockito.invocation that return InvocationModifier and TypeMethodDescriptionInvocationFactory.createInvocation(Object target, MockCreationSettings settings, Method method, InvocationFactory.RealMethodBehavior realMethod, Object... args) Creates instance of anInvocationobject.MatchableInvocation.getInvocation()The actual invocation Mockito will match against.Methods in org.mockito.invocation with parameters of type InvocationModifier and TypeMethodDescriptionvoidMatchableInvocation.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.booleanMatchableInvocation.hasSameMethod(Invocation candidate) Returns true if the candidate invocation has the same method (method name and parameter types)booleanMatchableInvocation.hasSimilarMethod(Invocation candidate) Candidate invocation has the similar method.booleanMatchableInvocation.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 -
Uses of Invocation in org.mockito.stubbing
Methods in org.mockito.stubbing that return InvocationModifier and TypeMethodDescriptionStubbing.getInvocation()Returns the method invocation that is stubbed.