Package | Description |
---|---|
org.mockito |
Mockito is a mock library for java - see Mockito class for for usage.
|
Modifier and Type | Method and Description |
---|---|
static <T> T |
Matchers.argThat(ArgumentMatcher<T> matcher)
Allows creating custom argument matchers.
|
static boolean |
Matchers.booleanThat(ArgumentMatcher<Boolean> matcher)
Allows creating custom
boolean argument matchers. |
static byte |
Matchers.byteThat(ArgumentMatcher<Byte> matcher)
Allows creating custom
byte argument matchers. |
static char |
Matchers.charThat(ArgumentMatcher<Character> matcher)
Allows creating custom
char argument matchers. |
static double |
Matchers.doubleThat(ArgumentMatcher<Double> matcher)
Allows creating custom
double argument matchers. |
static float |
Matchers.floatThat(ArgumentMatcher<Float> matcher)
Allows creating custom
float argument matchers. |
static int |
Matchers.intThat(ArgumentMatcher<Integer> matcher)
Allows creating custom
int argument matchers. |
static long |
Matchers.longThat(ArgumentMatcher<Long> matcher)
Allows creating custom
long argument matchers. |
static short |
Matchers.shortThat(ArgumentMatcher<Short> matcher)
Allows creating custom
short argument matchers. |