public class IsMessageWithAttributes<T>
extends org.hamcrest.TypeSafeMatcher<org.mule.runtime.api.message.Message>
Message's attributes, using a specific Message.getAttributes() matcher.| Constructor and Description |
|---|
IsMessageWithAttributes(org.hamcrest.Matcher<T> attributesMatcher) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
describeMismatchSafely(org.mule.runtime.api.message.Message message,
org.hamcrest.Description mismatchDescription) |
void |
describeTo(org.hamcrest.Description description) |
protected boolean |
matchesSafely(org.mule.runtime.api.message.Message message) |
public IsMessageWithAttributes(org.hamcrest.Matcher<T> attributesMatcher)
protected boolean matchesSafely(org.mule.runtime.api.message.Message message)
matchesSafely in class org.hamcrest.TypeSafeMatcher<org.mule.runtime.api.message.Message>public void describeTo(org.hamcrest.Description description)
protected void describeMismatchSafely(org.mule.runtime.api.message.Message message,
org.hamcrest.Description mismatchDescription)
describeMismatchSafely in class org.hamcrest.TypeSafeMatcher<org.mule.runtime.api.message.Message>Copyright © 2003–2018 MuleSoft, Inc.. All rights reserved.