T - The type of Message the matcher can match againstpublic class PayloadMatcher<T extends Message>
extends org.hamcrest.BaseMatcher<T>
| Constructor and Description |
|---|
PayloadMatcher(org.hamcrest.Matcher<?> payloadMatcher)
Constructs an instance with the given
payloadMatcher. |
| Modifier and Type | Method and Description |
|---|---|
void |
describeTo(org.hamcrest.Description description) |
boolean |
matches(Object item) |
public PayloadMatcher(org.hamcrest.Matcher<?> payloadMatcher)
payloadMatcher.payloadMatcher - The matcher that must match the Message's payload.public boolean matches(Object item)
public void describeTo(org.hamcrest.Description description)
Copyright © 2010–2018. All rights reserved.