|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.hamcrest.JavaLangMatcherAssert
public class JavaLangMatcherAssert
Integration method for use with Java's assert
keyword.
Example:
assert that("Foo", startsWith("f"));
Method Summary | ||
---|---|---|
static
|
that(T argument,
Matcher<? super T> matcher)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static <T> boolean that(T argument, Matcher<? super T> matcher)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |