MatcherAssert (Hamcrest)
Date: 2012-07-09

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.hamcrest
Class MatcherAssert

    java.lang.Object
      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)

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD