|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.hamcrest.BaseMatcher<List<?>>
org.axonframework.test.matchers.ListMatcher
org.axonframework.test.matchers.ListWithAllOfMatcher
public class ListWithAllOfMatcher
A matcher that will match if all the given matchers match against at least one item in a given List.
| Constructor Summary | |
|---|---|
ListWithAllOfMatcher(org.hamcrest.Matcher... matchers)
Construct a matcher that will return true if all the given matchers match against at least one
item in any given List. |
|
| Method Summary | |
|---|---|
protected void |
describeCollectionType(org.hamcrest.Description description)
Describes the type of collection expected. |
boolean |
matchesList(List<?> items)
Evaluates the matcher for argument item. |
| Methods inherited from class org.axonframework.test.matchers.ListMatcher |
|---|
describeTo, failedMatcherMessage, getLastSeparator, getMatchers, matches, matchRemainder, reportFailed |
| Methods inherited from class org.hamcrest.BaseMatcher |
|---|
_dont_implement_Matcher___instead_extend_BaseMatcher_, describeMismatch, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ListWithAllOfMatcher(org.hamcrest.Matcher... matchers)
matchers match against at least one
item in any given List.
matchers - The matchers that must match against at least one item in the list.| Method Detail |
|---|
public boolean matchesList(List<?> items)
ListMatcheritem. The item has been verified to be a list, but the exact
type of contents of a list cannot be verified, due to Erasure of Generic Types.
matchesList in class ListMatcheritems - the object against which the matcher is evaluated.
true if item matches, otherwise false.BaseMatcherprotected void describeCollectionType(org.hamcrest.Description description)
ListMatcher
describeCollectionType in class ListMatcherdescription - the description to append the collection type to
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||