Package mockit.internal.faking
Class FakeInvocation
java.lang.Object
mockit.Invocation
mockit.internal.BaseInvocation
mockit.internal.faking.FakeInvocation
An invocation to a fake method.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
static FakeInvocation
create
(Object invokedInstance, Object[] invokedArguments, String fakeClassDesc, @org.checkerframework.checker.index.qual.NonNegative int fakeStateIndex, String fakedClassDesc, String fakedMethodName, String fakedMethodDesc) protected Member
void
void
boolean
Methods inherited from class mockit.internal.BaseInvocation
doProceed, getPrevious, getRealMember, isMethodInSuperclass, setPrevious
Methods inherited from class mockit.Invocation
getInvocationCount, getInvocationIndex, getInvokedArguments, getInvokedInstance, getInvokedMember, proceed
-
Method Details
-
create
@NonNull public static FakeInvocation create(@Nullable Object invokedInstance, @Nullable Object[] invokedArguments, @NonNull String fakeClassDesc, @org.checkerframework.checker.index.qual.NonNegative int fakeStateIndex, @NonNull String fakedClassDesc, @NonNull String fakedMethodName, @NonNull String fakedMethodDesc) -
findRealMember
- Specified by:
findRealMember
in classBaseInvocation
-
shouldProceedIntoConstructor
public boolean shouldProceedIntoConstructor() -
prepareToProceed
public void prepareToProceed()- Specified by:
prepareToProceed
in classBaseInvocation
-
prepareToProceedFromNonRecursiveMock
public void prepareToProceedFromNonRecursiveMock() -
cleanUpAfterProceed
public void cleanUpAfterProceed()- Specified by:
cleanUpAfterProceed
in classBaseInvocation
-