Package | Description |
---|---|
org.hamcrest |
The stable API defining Matcher and its associated interfaces and classes.
|
org.hamcrest.core |
Fundamental matchers of objects and values, and composite matchers.
|
Modifier and Type | Method | Description |
---|---|---|
static <LHS> CombinableMatcher.CombinableBothMatcher<LHS> |
CoreMatchers.both(Matcher<? super LHS> matcher) |
Creates a matcher that matches when both of the specified matchers match the examined object.
|
static <LHS> CombinableMatcher.CombinableBothMatcher<LHS> |
Matchers.both(Matcher<? super LHS> matcher) |
Creates a matcher that matches when both of the specified matchers match the examined object.
|
Modifier and Type | Method | Description |
---|---|---|
static <LHS> CombinableMatcher.CombinableBothMatcher<LHS> |
CombinableMatcher.both(Matcher<? super LHS> matcher) |
Creates a matcher that matches when both of the specified matchers match the examined object.
|