Class ExpectedInvocation
java.lang.Object
mockit.internal.expectations.invocation.ExpectedInvocation
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
errorForMissingInvocation
(List<ExpectedInvocation> nonMatchingInvocations) errorForMissingInvocations
(@org.checkerframework.checker.index.qual.NonNegative int missingInvocations, List<ExpectedInvocation> nonMatchingInvocations) errorForUnexpectedInvocation
(Object[] replayArgs) errorForUnexpectedInvocations
(Object[] replayArgs, int numUnexpected) Object[]
boolean
boolean
boolean
isMatch
(Object replayInstance, String invokedClassDesc, String invokedMethod, Map<Object, Object> replacementMap) boolean
isMatch
(ExpectedInvocation other) toString()
-
Field Details
-
instance
-
replacementInstance
-
matchInstance
public boolean matchInstance -
arguments
-
-
Constructor Details
-
ExpectedInvocation
-
ExpectedInvocation
-
-
Method Details
-
getInvocationCause
-
getClassDesc
-
getClassName
-
getMethodNameAndDescription
-
getArgumentValues
-
isConstructor
public boolean isConstructor() -
getSignatureWithResolvedReturnType
-
isMatch
-
isMatch
-
isMatch
-
errorForUnexpectedInvocation
-
errorForMissingInvocation
@NonNull public MissingInvocation errorForMissingInvocation(@NonNull List<ExpectedInvocation> nonMatchingInvocations) -
errorForMissingInvocations
@NonNull public MissingInvocation errorForMissingInvocations(@org.checkerframework.checker.index.qual.NonNegative int missingInvocations, @NonNull List<ExpectedInvocation> nonMatchingInvocations) -
errorForUnexpectedInvocation
-
errorForUnexpectedInvocations
@NonNull public UnexpectedInvocation errorForUnexpectedInvocations(@NonNull Object[] replayArgs, int numUnexpected) -
toString
-
toString
-
getDefaultValueForReturnType
-
copyDefaultReturnValue
-