| Constructor Summary |
|---|
|
No description provided. |
| Method Summary | |
|---|---|
| static boolean |
Expects a boolean that matches both given expectations. |
| static byte |
Expects a byte that matches both given expectations. |
| static char |
Expects a char that matches both given expectations. |
| static double |
Expects a double that matches both given expectations. |
| static float |
Expects a float that matches both given expectations. |
| static int |
Expects an int that matches both given expectations. |
| static long |
Expects a long that matches both given expectations. |
| static short |
Expects a short that matches both given expectations. |
| static T |
Expects an Object that matches both given expectations. |
| static boolean |
Expects any boolean argument. |
| static byte |
Expects any byte argument. |
| static char |
Expects any char argument. |
| static double |
Expects any double argument. |
| static float |
Expects any float argument. |
| static int |
Expects any int argument. |
| static long |
Expects any long argument. |
| static Object |
Expects any Object argument. |
| static short |
Expects any short argument. |
| static boolean[] |
Expects a boolean array that is equal to the given array, i.e. |
| static byte[] |
Expects a byte array that is equal to the given array, i.e. |
| static char[] |
Expects a char array that is equal to the given array, i.e. |
| static double[] |
Expects a double array that is equal to the given array, i.e. |
| static float[] |
Expects a float array that is equal to the given array, i.e. |
| static int[] |
Expects an int array that is equal to the given array, i.e. |
| static long[] |
Expects a long array that is equal to the given array, i.e. |
| static short[] |
Expects a short array that is equal to the given array, i.e. |
| static T[] |
Expects an Object array that is equal to the given array, i.e. |
| static void |
Switches order checking of the given mock object (more exactly: the control of the mock object) the on and off. |
| static String |
Expects a string that contains the given substring. |
| static IMocksControl |
Creates a control, order checking is disabled by default. |
| static T |
Creates a mock object that implements the given interface, order checking is disabled by default. |
| static IMocksControl |
Creates a control, order checking is disabled by default, and the mock objects created by this control will return 0,
null or false for unexpected invocations.
|
| static T |
Creates a mock object that implements the given interface, order checking is disabled by default, and the mock object will return 0,
null or false for unexpected invocations.
|
| static IMocksControl |
Creates a control, order checking is enabled by default. |
| static T |
Creates a mock object that implements the given interface, order checking is enabled by default. |
| static String |
Expects a string that ends with the given suffix. |
| static boolean |
Expects a boolean that is equal to the given value. |
| static byte |
Expects a byte that is equal to the given value. |
| static char |
Expects a char that is equal to the given value. |
| static double |
Expects a double that is equal to the given value. |
| static float |
Expects a float that is equal to the given value. |
| static int |
Expects an int that is equal to the given value. |
| static long |
Expects a long that is equal to the given value. |
| static short |
Expects a short that is equal to the given value. |
| static T |
Expects an Object that is equal to the given value. |
| static double |
Expects a double that has an absolute difference to the given value that is less than the given delta. |
| static float |
Expects a float that has an absolute difference to the given value that is less than the given delta. |
| static IExpectationSetters<T> |
Returns the expectation setter for the last expected invocation in the current thread. |
| static IExpectationSetters<Object> |
Returns the expectation setter for the last expected invocation in the current thread. |
| static String |
Expects a string that contains a substring that matches the given regular expression. |
| static byte |
Expects a byte argument greater than or equal to the given value. |
| static double |
Expects a double argument greater than or equal to the given value. |
| static float |
Expects a float argument greater than or equal to the given value. |
| static int |
Expects an int argument greater than or equal to the given value. |
| static long |
Expects a long argument greater than or equal to the given value. |
| static short |
Expects a short argument greater than or equal to the given value. |
| static Object[] |
Returns the arguments of the current mock method call, if inside an IAnswer callback - be careful here, reordering parameters of
method changes the semantics of your tests.
|
| static byte |
Expects a byte argument greater than the given value. |
| static double |
Expects a double argument greater than the given value. |
| static float |
Expects a float argument greater than the given value. |
| static int |
Expects an int argument greater than the given value. |
| static long |
Expects a long argument greater than the given value. |
| static short |
Expects a short argument greater than the given value. |
| static T |
Expects an object implementing the given class. |
| static Object |
Expects null. |
| static byte |
Expects a byte argument less than or equal to the given value. |
| static double |
Expects a double argument less than or equal to the given value. |
| static float |
Expects a float argument less than or equal to the given value. |
| static int |
Expects an int argument less than or equal to the given value. |
| static long |
Expects a long argument less than or equal to the given value. |
| static short |
Expects a short argument less than or equal to the given value. |
| static byte |
Expects a byte argument less than the given value. |
| static double |
Expects a double argument less than the given value. |
| static float |
Expects a float argument less than the given value. |
| static int |
Expects an int argument less than the given value. |
| static long |
Expects a long argument less than the given value. |
| static short |
Expects a short argument less than the given value. |
| static String |
Expects a string that matches the given regular expression. |
| static boolean |
Expects a boolean that does not match the given expectation. |
| static byte |
Expects a byte that does not match the given expectation. |
| static char |
Expects a char that does not match the given expectation. |
| static double |
Expects a double that does not match the given expectation. |
| static float |
Expects a float that does not match the given expectation. |
| static int |
Expects an int that does not match the given expectation. |
| static long |
Expects a long that does not match the given expectation. |
| static short |
Expects a short that does not match the given expectation. |
| static T |
Expects an Object that does not match the given expectation. |
| static Object |
Expects not null. |
| static boolean |
Expects a boolean that matches one of the given expectations. |
| static byte |
Expects a byte that matches one of the given expectations. |
| static char |
Expects a char that matches one of the given expectations. |
| static double |
Expects a double that matches one of the given expectations. |
| static float |
Expects a float that matches one of the given expectations. |
| static int |
Expects an int that matches one of the given expectations. |
| static long |
Expects a long that matches one of the given expectations. |
| static short |
Expects a short that matches one of the given expectations. |
| static T |
Expects an Object that matches one of the given expectations. |
| static void |
Switches the given mock objects (more exactly: the controls of the mock objects) to replay mode. |
| static void |
Reports an argument matcher. |
| static void |
Resets the given mock objects (more exactly: the controls of the mock objects). |
| static T |
Expects an Object that is the same as the given value. |
| static String |
Expects a string that starts with the given prefix. |
| static void |
Verifies the given mock objects (more exactly: the controls of the mock objects). |
| Methods inherited from java.langObject |
|---|
public static
boolean
and
(
boolean
first,
boolean
second
)
public static
byte
and
(
byte
first,
byte
second
)
public static
char
and
(
char
first,
char
second
)
public static
double
and
(
double
first,
double
second
)
public static
float
and
(
float
first,
float
second
)
public static
int
and
(
int
first,
int
second
)
public static
long
and
(
long
first,
long
second
)
public static
short
and
(
short
first,
short
second
)
public static <T>
T
and
(
T
first,
T
second
)
public static
boolean
anyBoolean
(
)
public static
byte
anyByte
(
)
public static
char
anyChar
(
)
public static
double
anyDouble
(
)
public static
float
anyFloat
(
)
public static
int
anyInt
(
)
public static
long
anyLong
(
)
public static
short
anyShort
(
)
public static
boolean[]
aryEq
(
boolean
[]
value
)
public static
byte[]
aryEq
(
byte
[]
value
)
public static
char[]
aryEq
(
char
[]
value
)
public static
double[]
aryEq
(
double
[]
value
)
public static
float[]
aryEq
(
float
[]
value
)
public static
int[]
aryEq
(
int
[]
value
)
public static
long[]
aryEq
(
long
[]
value
)
public static
short[]
aryEq
(
short
[]
value
)
public static <T>
T[]
aryEq
(
T
[]
value
)
0,
null or false for unexpected invocations. 0,
null or false for unexpected invocations.
public static
boolean
eq
(
boolean
value
)
public static
byte
eq
(
byte
value
)
public static
char
eq
(
char
value
)
public static
double
eq
(
double
value
)
public static
float
eq
(
float
value
)
public static
int
eq
(
int
value
)
public static
long
eq
(
long
value
)
public static
short
eq
(
short
value
)
public static <T>
T
eq
(
T
value
)
public static
double
eq
(
double
value,
double
delta
)
public static
float
eq
(
float
value,
float
delta
)
public static
IExpectationSetters<Object>
expectLastCall
(
)
public static
byte
geq
(
byte
value
)
public static
double
geq
(
double
value
)
public static
float
geq
(
float
value
)
public static
int
geq
(
int
value
)
public static
long
geq
(
long
value
)
public static
short
geq
(
short
value
)
IAnswer callback - be careful here, reordering parameters of
method changes the semantics of your tests.
public static
byte
gt
(
byte
value
)
public static
double
gt
(
double
value
)
public static
float
gt
(
float
value
)
public static
int
gt
(
int
value
)
public static
long
gt
(
long
value
)
public static
short
gt
(
short
value
)
public static
byte
leq
(
byte
value
)
public static
double
leq
(
double
value
)
public static
float
leq
(
float
value
)
public static
int
leq
(
int
value
)
public static
long
leq
(
long
value
)
public static
short
leq
(
short
value
)
public static
byte
lt
(
byte
value
)
public static
double
lt
(
double
value
)
public static
float
lt
(
float
value
)
public static
int
lt
(
int
value
)
public static
long
lt
(
long
value
)
public static
short
lt
(
short
value
)
public static
boolean
not
(
boolean
first
)
public static
byte
not
(
byte
first
)
public static
char
not
(
char
first
)
public static
double
not
(
double
first
)
public static
float
not
(
float
first
)
public static
int
not
(
int
first
)
public static
long
not
(
long
first
)
public static
short
not
(
short
first
)
public static <T>
T
not
(
T
first
)
public static
boolean
or
(
boolean
first,
boolean
second
)
public static
byte
or
(
byte
first,
byte
second
)
public static
char
or
(
char
first,
char
second
)
sdfsdf
public static
double
or
(
double
first,
double
second
)
public static
float
or
(
float
first,
float
second
)
public static
int
or
(
int
first,
int
second
)
public static
long
or
(
long
first,
long
second
)
public static
short
or
(
short
first,
short
second
)
public static <T>
T
or
(
T
first,
T
second
)
public static <T>
T
same
(
T
value
)