Uses of Interface
org.mockito.invocation.Invocation
-
Packages that use Invocation Package Description org.mockito Mockito is a mock library for java - seeMockitoclass 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 InvocationInvocationFactory. createInvocation(Object target, MockCreationSettings settings, Method method, InvocationFactory.RealMethodBehavior realMethod, Object... args)Creates instance of anInvocationobject.InvocationMatchableInvocation. getInvocation()The actual invocation Mockito will match against.Methods in org.mockito.invocation with parameters of type Invocation Modifier and Type Method Description voidMatchableInvocation. captureArgumentsFrom(Invocation invocation)This method is used by Mockito to implement argument captor functionality (seeArgumentCaptor.ObjectMockHandler. 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 Modifier and Type Method Description InvocationStubbingLookupEvent. getInvocation() -
Uses of Invocation in org.mockito.stubbing
Methods in org.mockito.stubbing that return Invocation Modifier and Type Method Description InvocationStubbing. getInvocation()Returns the method invocation that is stubbed.
-