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 |
ArgumentMatchers.argThat(ArgumentMatcher<T> matcher)
Allows creating custom argument matchers.
|
static boolean |
ArgumentMatchers.booleanThat(ArgumentMatcher<Boolean> matcher)
Allows creating custom
boolean argument matchers. |
static byte |
ArgumentMatchers.byteThat(ArgumentMatcher<Byte> matcher)
Allows creating custom
byte argument matchers. |
static char |
ArgumentMatchers.charThat(ArgumentMatcher<Character> matcher)
Allows creating custom
char argument matchers. |
static double |
ArgumentMatchers.doubleThat(ArgumentMatcher<Double> matcher)
Allows creating custom
double argument matchers. |
static float |
ArgumentMatchers.floatThat(ArgumentMatcher<Float> matcher)
Allows creating custom
float argument matchers. |
static int |
ArgumentMatchers.intThat(ArgumentMatcher<Integer> matcher)
Allows creating custom
int argument matchers. |
static long |
ArgumentMatchers.longThat(ArgumentMatcher<Long> matcher)
Allows creating custom
long argument matchers. |
static short |
ArgumentMatchers.shortThat(ArgumentMatcher<Short> matcher)
Allows creating custom
short argument matchers. |