org.hamcrest
Class MatcherAssert

java.lang.Object
  extended by org.hamcrest.MatcherAssert

public class MatcherAssert
extends java.lang.Object


Constructor Summary
MatcherAssert()
           
 
Method Summary
static void assertThat(java.lang.String reason, boolean assertion)
           
static
<T> void
assertThat(java.lang.String reason, T actual, Matcher<? super T> matcher)
           
static
<T> void
assertThat(T actual, Matcher<? super T> matcher)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MatcherAssert

public MatcherAssert()
Method Detail

assertThat

public static <T> void assertThat(T actual,
                                  Matcher<? super T> matcher)

assertThat

public static <T> void assertThat(java.lang.String reason,
                                  T actual,
                                  Matcher<? super T> matcher)

assertThat

public static void assertThat(java.lang.String reason,
                              boolean assertion)