Top Description Constructors Methods
org.hamcrest

public Class JavaLangMatcherAssert

extends Object
Class Inheritance

Integration method for use with Java's assert keyword. Example:
assert that("Foo", startsWith("f"));
Author
Neil Dunn

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static <T> boolean
that(T argument, Matcher<? super T> matcher)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

JavaLangMatcherAssertback to summary
private JavaLangMatcherAssert()

Method Detail

thatback to summary
public static <T> boolean that(T argument, Matcher<? super T> matcher)