| Constructor and Description |
|---|
EventMatcher(org.hamcrest.Matcher<org.mule.runtime.api.message.ErrorType> errorTypeMatcher) |
| Modifier and Type | Method and Description |
|---|---|
void |
describeTo(org.hamcrest.Description description) |
static EventMatcher |
hasErrorType(org.mule.runtime.extension.api.error.ErrorTypeDefinition type) |
static EventMatcher |
hasErrorType(org.hamcrest.Matcher<String> namespace,
org.hamcrest.Matcher<String> type) |
static EventMatcher |
hasErrorType(String namespace,
String type) |
static EventMatcher |
hasErrorTypeThat(org.hamcrest.Matcher<org.mule.runtime.api.message.ErrorType> errorTypeMatcher) |
protected boolean |
matchesSafely(Event item) |
describeMismatch, describeMismatchSafely, matchespublic EventMatcher(org.hamcrest.Matcher<org.mule.runtime.api.message.ErrorType> errorTypeMatcher)
public static EventMatcher hasErrorTypeThat(org.hamcrest.Matcher<org.mule.runtime.api.message.ErrorType> errorTypeMatcher)
public static EventMatcher hasErrorType(org.mule.runtime.extension.api.error.ErrorTypeDefinition type)
public static EventMatcher hasErrorType(String namespace, String type)
public static EventMatcher hasErrorType(org.hamcrest.Matcher<String> namespace, org.hamcrest.Matcher<String> type)
protected boolean matchesSafely(Event item)
matchesSafely in class org.hamcrest.TypeSafeMatcher<Event>public void describeTo(org.hamcrest.Description description)
Copyright © 2003–2017 MuleSoft, Inc.. All rights reserved.