Package mockit.internal.expectations
Class ActiveInvocations
java.lang.Object
mockit.internal.expectations.ActiveInvocations
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
static void
any()
static void
static void
anyByte()
static void
anyChar()
static void
static void
anyFloat()
static void
anyInt()
static void
anyLong()
static void
anyShort()
static void
static void
static Object
matchedArgument
(@org.checkerframework.checker.index.qual.NonNegative int parameterIndex, String argTypeDesc) static void
maxTimes
(int n) static void
minTimes
(int n) static void
moveArgMatcher
(@org.checkerframework.checker.index.qual.NonNegative int originalMatcherIndex, @org.checkerframework.checker.index.qual.NonNegative int toIndex) static void
setExpectedArgumentType
(@org.checkerframework.checker.index.qual.NonNegative int parameterIndex, int varIndex) static void
setExpectedArgumentType
(@org.checkerframework.checker.index.qual.NonNegative int parameterIndex, String typeDesc) static void
times
(int n)
-
Method Details
-
anyString
public static void anyString() -
anyBoolean
public static void anyBoolean() -
anyChar
public static void anyChar() -
anyByte
public static void anyByte() -
anyShort
public static void anyShort() -
anyInt
public static void anyInt() -
anyFloat
public static void anyFloat() -
anyLong
public static void anyLong() -
anyDouble
public static void anyDouble() -
any
public static void any() -
moveArgMatcher
public static void moveArgMatcher(@org.checkerframework.checker.index.qual.NonNegative int originalMatcherIndex, @org.checkerframework.checker.index.qual.NonNegative int toIndex) -
setExpectedArgumentType
public static void setExpectedArgumentType(@org.checkerframework.checker.index.qual.NonNegative int parameterIndex, @NonNull String typeDesc) -
setExpectedArgumentType
public static void setExpectedArgumentType(@org.checkerframework.checker.index.qual.NonNegative int parameterIndex, int varIndex) -
matchedArgument
-
addResult
-
times
public static void times(int n) -
minTimes
public static void minTimes(int n) -
maxTimes
public static void maxTimes(int n) -
endInvocations
public static void endInvocations()
-