public class CallbackMatcher extends TypedValueMatcher
| Constructor and Description |
|---|
CallbackMatcher(Function<List<Object>,Diff> callback) |
| Modifier and Type | Method and Description |
|---|---|
void |
describeMismatch(Object item,
org.hamcrest.Description description) |
void |
describeTo(org.hamcrest.Description description) |
boolean |
doMatch(org.mule.runtime.api.metadata.TypedValue typedValue) |
org.hamcrest.Matcher<Object> |
toPlainValueMatcher()
Returns the same matcher but for any object instead of just
TypedValue |
matchespublic boolean doMatch(org.mule.runtime.api.metadata.TypedValue typedValue)
doMatch in class TypedValueMatcherpublic void describeTo(org.hamcrest.Description description)
public void describeMismatch(Object item, org.hamcrest.Description description)
describeMismatch in interface org.hamcrest.Matcher<org.mule.runtime.api.metadata.TypedValue>describeMismatch in class org.hamcrest.BaseMatcher<org.mule.runtime.api.metadata.TypedValue>public org.hamcrest.Matcher<Object> toPlainValueMatcher()
TypedValueMatcherTypedValuetoPlainValueMatcher in class TypedValueMatcherCopyright © 2019. All rights reserved.