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 and Description |
---|---|
static <LHS> CombinableMatcher<LHS> |
Matchers.both(Matcher<? super LHS> matcher)
This is useful for fluently combining matchers that must both pass.
|
static <LHS> CombinableMatcher<LHS> |
CoreMatchers.both(Matcher<? super LHS> matcher)
This is useful for fluently combining matchers that must both pass.
|
static <LHS> CombinableMatcher<LHS> |
Matchers.either(Matcher<? super LHS> matcher)
This is useful for fluently combining matchers where either may pass, for example:
|
static <LHS> CombinableMatcher<LHS> |
CoreMatchers.either(Matcher<? super LHS> matcher)
This is useful for fluently combining matchers where either may pass, for example:
|
Modifier and Type | Method and Description |
---|---|
CombinableMatcher<T> |
CombinableMatcher.and(Matcher<? super T> other) |
static <LHS> CombinableMatcher<LHS> |
CombinableMatcher.both(Matcher<? super LHS> matcher)
This is useful for fluently combining matchers that must both pass.
|
static <LHS> CombinableMatcher<LHS> |
CombinableMatcher.either(Matcher<? super LHS> matcher)
This is useful for fluently combining matchers where either may pass, for example:
|
CombinableMatcher<T> |
CombinableMatcher.or(Matcher<? super T> other) |
Copyright © 2016. All rights reserved.