public final class ArgumentMatcherUtils extends Object
Modifier and Type | Class and Description |
---|---|
static class |
ArgumentMatcherUtils.EndsWithMatcher |
static class |
ArgumentMatcherUtils.RegexMatcher |
Modifier and Type | Method and Description |
---|---|
static <T> ArgumentMatcher<T> |
any() |
static ArgumentMatcher<String> |
endsWith(String suffix) |
static <T> ArgumentMatcher<T> |
eq(T value) |
static <C extends Comparable<C>> |
gt(C comparable) |
static <C extends Comparable<C>> |
gte(C comparable) |
static <T> ArgumentMatcher<T> |
isA(Class<?> type) |
static <T> ArgumentMatcher<T> |
isNull() |
static <C extends Comparable<C>> |
lt(C comparable) |
static <C extends Comparable<C>> |
lte(C comparable) |
static ArgumentMatcher<String> |
matches(String regex) |
static <T> ArgumentMatcher<T> |
notNull() |
static ArgumentMatcher<String> |
startsWith(String prefix) |
public static <T> ArgumentMatcher<T> any()
public static ArgumentMatcher<String> endsWith(String suffix)
public static <T> ArgumentMatcher<T> eq(T value)
public static <C extends Comparable<C>> ArgumentMatcher<C> gt(C comparable)
public static <C extends Comparable<C>> ArgumentMatcher<C> gte(C comparable)
public static <T> ArgumentMatcher<T> isA(Class<?> type)
public static <T> ArgumentMatcher<T> isNull()
public static <C extends Comparable<C>> ArgumentMatcher<C> lt(C comparable)
public static <C extends Comparable<C>> ArgumentMatcher<C> lte(C comparable)
public static ArgumentMatcher<String> matches(String regex)
public static <T> ArgumentMatcher<T> notNull()
public static ArgumentMatcher<String> startsWith(String prefix)
Copyright © 2005–2014 The Apache Software Foundation. All rights reserved.