Package org.axonframework.test.matchers
Class PayloadsMatcher
- All Implemented Interfaces:
org.hamcrest.Matcher<List<? extends Message>>,org.hamcrest.SelfDescribing
Matches a list of Messages if the list of their payloads matches the given matcher.
- Since:
- 2.0
- Author:
- Allard Buijze
-
Constructor Summary
ConstructorsConstructorDescriptionPayloadsMatcher(org.hamcrest.Matcher<? extends Iterable<?>> matcher) Constructs an instance that uses the givenmatcherto match the payloads. -
Method Summary
Methods inherited from class org.hamcrest.BaseMatcher
_dont_implement_Matcher___instead_extend_BaseMatcher_, describeMismatch, isNotNull, toString
-
Constructor Details
-
PayloadsMatcher
Constructs an instance that uses the givenmatcherto match the payloads.- Parameters:
matcher- The matcher to match the payloads with.
-
-
Method Details
-
matches
-
describeTo
public void describeTo(org.hamcrest.Description description)
-