Uses of Interface
org.mockito.invocation.InvocationOnMock
-
Packages that use InvocationOnMock Package Description org.mockito Mockito is a mock library for java - seeMockitoclass for usage.org.mockito.internal.exceptions org.mockito.internal.invocation Invocation machinery and related classes.org.mockito.internal.stubbing Stubbing logic.org.mockito.internal.stubbing.answers Answers for stubbed calls.org.mockito.internal.stubbing.defaultanswers Implementations of default Answers.org.mockito.internal.util Static utilsorg.mockito.invocation Public API related to mock method invocations.org.mockito.stubbing Stubbing related classes. -
-
Uses of InvocationOnMock in org.mockito
Methods in org.mockito with parameters of type InvocationOnMock Modifier and Type Method Description java.lang.ObjectAnswers. answer(InvocationOnMock invocation) -
Uses of InvocationOnMock in org.mockito.internal.exceptions
Methods in org.mockito.internal.exceptions with parameters of type InvocationOnMock Modifier and Type Method Description static MockitoExceptionReporter. invalidArgumentPositionRangeAtInvocationTime(InvocationOnMock invocation, boolean willReturnLastParameter, int argumentIndex)private static java.lang.StringBuilderReporter. possibleArgumentTypesOf(InvocationOnMock invocation)static MockitoExceptionReporter. wrongTypeOfArgumentToReturn(InvocationOnMock invocation, java.lang.String expectedType, java.lang.Class<?> actualType, int argumentIndex) -
Uses of InvocationOnMock in org.mockito.internal.invocation
Classes in org.mockito.internal.invocation that implement InvocationOnMock Modifier and Type Class Description classInterceptedInvocation -
Uses of InvocationOnMock in org.mockito.internal.stubbing
Methods in org.mockito.internal.stubbing with parameters of type InvocationOnMock Modifier and Type Method Description java.lang.ObjectStubbedInvocationMatcher. answer(InvocationOnMock invocation) -
Uses of InvocationOnMock in org.mockito.internal.stubbing.answers
Fields in org.mockito.internal.stubbing.answers declared as InvocationOnMock Modifier and Type Field Description private InvocationOnMockInvocationInfo. invocationMethods in org.mockito.internal.stubbing.answers with parameters of type InvocationOnMock Modifier and Type Method Description java.lang.ObjectAbstractThrowsException. answer(InvocationOnMock invocation)java.lang.ObjectAnswersWithDelay. answer(InvocationOnMock invocation)java.lang.ObjectCallsRealMethods. answer(InvocationOnMock invocation)java.lang.ObjectClonesArguments. answer(InvocationOnMock invocation)java.lang.ObjectDoesNothing. answer(InvocationOnMock invocation)java.lang.ObjectReturns. answer(InvocationOnMock invocation)java.lang.ObjectReturnsArgumentAt. answer(InvocationOnMock invocation)java.lang.ObjectReturnsElementsOf. answer(InvocationOnMock invocation)private intReturnsArgumentAt. inferWantedArgumentPosition(InvocationOnMock invocation)private intReturnsArgumentAt. inferWantedRawArgumentPosition(InvocationOnMock invocation)private static <A> AAnswerFunctionalInterfaces. lastParameter(InvocationOnMock invocation, java.lang.reflect.Method answerMethod, int argumentIndex)voidAbstractThrowsException. validateFor(InvocationOnMock invocation)voidAnswersWithDelay. validateFor(InvocationOnMock invocation)voidCallsRealMethods. validateFor(InvocationOnMock invocation)voidDoesNothing. validateFor(InvocationOnMock invocation)voidReturns. validateFor(InvocationOnMock invocation)voidReturnsArgumentAt. validateFor(InvocationOnMock invocationOnMock)private voidReturnsArgumentAt. validateIndexWithinInvocationRange(InvocationOnMock invocation, int argumentPosition)private voidReturnsArgumentAt. validateIndexWithinTheoreticalInvocationRange(InvocationOnMock invocation, int argumentPosition)static voidDefaultAnswerValidator. validateReturnValueFor(InvocationOnMock invocation, java.lang.Object returnedValue)private booleanReturnsArgumentAt. wantedArgIndexIsVarargAndSameTypeAsReturnType(InvocationOnMock invocation)private booleanReturnsArgumentAt. wantedArgumentPositionIsValidForTheoreticalInvocation(InvocationOnMock invocation, int argumentPosition)Constructors in org.mockito.internal.stubbing.answers with parameters of type InvocationOnMock Constructor Description InvocationInfo(InvocationOnMock theInvocation) -
Uses of InvocationOnMock in org.mockito.internal.stubbing.defaultanswers
Fields in org.mockito.internal.stubbing.defaultanswers declared as InvocationOnMock Modifier and Type Field Description private InvocationOnMockReturnsSmartNulls.ThrowsSmartNullPointer. unstubbedInvocationMethods in org.mockito.internal.stubbing.defaultanswers with parameters of type InvocationOnMock Modifier and Type Method Description java.lang.ObjectForwardsInvocations. answer(InvocationOnMock invocation)java.lang.ObjectGloballyConfiguredAnswer. answer(InvocationOnMock invocation)java.lang.ObjectReturnsDeepStubs. answer(InvocationOnMock invocation)java.lang.ObjectReturnsDeepStubs.DeeplyStubbedAnswer. answer(InvocationOnMock invocation)java.lang.ObjectReturnsEmptyValues. answer(InvocationOnMock invocation)java.lang.ObjectReturnsMocks. answer(InvocationOnMock invocation)java.lang.ObjectReturnsMoreEmptyValues. answer(InvocationOnMock invocation)java.lang.ObjectReturnsSmartNulls. answer(InvocationOnMock invocation)java.lang.ObjectReturnsSmartNulls.ThrowsSmartNullPointer. answer(InvocationOnMock currentInvocation)java.lang.ObjectTriesToReturnSelf. answer(InvocationOnMock invocation)private java.lang.ObjectReturnsDeepStubs. deepStub(InvocationOnMock invocation, GenericMetadataSupport returnTypeGenericMetadata)private static java.lang.Class<?>RetrieveGenericsForDefaultAnswers. findTypeFromGeneric(InvocationOnMock invocation, java.lang.reflect.TypeVariable returnType)Retrieve the expected type when it came from a primitive.private static java.lang.Class<?>RetrieveGenericsForDefaultAnswers. findTypeFromGenericInArguments(InvocationOnMock invocation, java.lang.reflect.TypeVariable returnType)Find a return type using generic arguments provided by the calling method.(package private) static java.lang.ObjectRetrieveGenericsForDefaultAnswers. returnTypeForMockWithCorrectGenerics(InvocationOnMock invocation, RetrieveGenericsForDefaultAnswers.AnswerCallback answerCallback)Constructors in org.mockito.internal.stubbing.defaultanswers with parameters of type InvocationOnMock Constructor Description ThrowsSmartNullPointer(InvocationOnMock unstubbedInvocation, Location location) -
Uses of InvocationOnMock in org.mockito.internal.util
Methods in org.mockito.internal.util with parameters of type InvocationOnMock Modifier and Type Method Description static java.lang.ObjectKotlinInlineClassUtil. unboxUnderlyingValueIfNeeded(InvocationOnMock invocation, java.lang.Object value) -
Uses of InvocationOnMock in org.mockito.invocation
Subinterfaces of InvocationOnMock in org.mockito.invocation Modifier and Type Interface Description interfaceInvocationA method call on a mock object. -
Uses of InvocationOnMock in org.mockito.stubbing
Methods in org.mockito.stubbing with parameters of type InvocationOnMock Modifier and Type Method Description TAnswer. answer(InvocationOnMock invocation)voidValidableAnswer. validateFor(InvocationOnMock invocation)Validation of the answer at stub time for the given invocation.
-