Package org.hamcrest
Class MatcherAssert
java.lang.Object
org.hamcrest.MatcherAssert
The Hamcrest entrypoint, static methods to check if matchers match a
 given value.
- 
Method SummaryModifier and TypeMethodDescriptionstatic voidassertThat(String reason, boolean assertion) Checks that an assertion is truestatic <T> voidassertThat(String reason, T actual, Matcher<? super T> matcher) Checks that a value matches a matcherstatic <T> voidassertThat(T actual, Matcher<? super T> matcher) Checks that a value matches a matcher
- 
Method Details- 
assertThatChecks that a value matches a matcher- Type Parameters:
- T- the type of the value
- Parameters:
- actual- the value to check
- matcher- the matcher
 
- 
assertThatChecks that a value matches a matcher- Type Parameters:
- T- the type of the value
- Parameters:
- reason- a description of what is being matched
- actual- the value to check
- matcher- the matcher
 
- 
assertThatChecks that an assertion is true- Parameters:
- reason- a description of what is being checked
- assertion- the result of the check
 
 
-