|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use CombinableMatcher | |
---|---|
org.junit.internal.matchers | |
org.junit.matchers | Provides useful additional Matcher s for use with
the Assert.assertThat(Object, org.hamcrest.Matcher)
statement |
Uses of CombinableMatcher in org.junit.internal.matchers |
---|
Methods in org.junit.internal.matchers that return CombinableMatcher | |
---|---|
CombinableMatcher<T> |
CombinableMatcher.and(Matcher<? extends T> matcher)
|
CombinableMatcher<T> |
CombinableMatcher.or(Matcher<? extends T> matcher)
|
Uses of CombinableMatcher in org.junit.matchers |
---|
Methods in org.junit.matchers that return CombinableMatcher | ||
---|---|---|
static
|
JUnitMatchers.both(Matcher<T> matcher)
This is useful for fluently combining matchers that must both pass. |
|
static
|
JUnitMatchers.either(Matcher<T> matcher)
This is useful for fluently combining matchers where either may pass, for example: |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |