T - return type of the Metadata resolving operation.public class MetadataKeyResultFailureMatcher<T>
extends org.hamcrest.TypeSafeMatcher<org.mule.runtime.api.metadata.resolving.MetadataResult<T>>
MetadataResult is not successful.| Constructor and Description |
|---|
MetadataKeyResultFailureMatcher(org.hamcrest.Matcher<Collection<? extends org.mule.runtime.api.metadata.resolving.MetadataFailure>> failuresMatcher) |
| Modifier and Type | Method and Description |
|---|---|
void |
describeTo(org.hamcrest.Description description) |
static <T> MetadataKeyResultFailureMatcher<T> |
isFailure() |
static <T> MetadataKeyResultFailureMatcher<T> |
isFailure(org.hamcrest.Matcher<Collection<? extends org.mule.runtime.api.metadata.resolving.MetadataFailure>> failuresMatcher) |
protected boolean |
matchesSafely(org.mule.runtime.api.metadata.resolving.MetadataResult<T> item) |
describeMismatch, describeMismatchSafely, matchespublic MetadataKeyResultFailureMatcher(org.hamcrest.Matcher<Collection<? extends org.mule.runtime.api.metadata.resolving.MetadataFailure>> failuresMatcher)
public void describeTo(org.hamcrest.Description description)
protected boolean matchesSafely(org.mule.runtime.api.metadata.resolving.MetadataResult<T> item)
matchesSafely in class org.hamcrest.TypeSafeMatcher<org.mule.runtime.api.metadata.resolving.MetadataResult<T>>public static <T> MetadataKeyResultFailureMatcher<T> isFailure()
public static <T> MetadataKeyResultFailureMatcher<T> isFailure(org.hamcrest.Matcher<Collection<? extends org.mule.runtime.api.metadata.resolving.MetadataFailure>> failuresMatcher)
Copyright © 2003–2021 MuleSoft, Inc.. All rights reserved.