public final class MetadataKeyMatcher
extends org.hamcrest.TypeSafeMatcher<org.mule.runtime.api.metadata.MetadataKey>
Matcher implementation for MetadataKey| Modifier and Type | Method and Description |
|---|---|
void |
describeTo(org.hamcrest.Description description) |
protected boolean |
matchesSafely(org.mule.runtime.api.metadata.MetadataKey metadataKey) |
static MetadataKeyMatcher |
metadataKeyWithId(String id)
Creates a new instance of the
MetadataKeyMatcher |
MetadataKeyMatcher |
withDisplayName(String displayName)
Adds a displayName to compare.
|
MetadataKeyMatcher |
withPartName(String partName)
Adds a partName to compare.
|
describeMismatch, describeMismatchSafely, matchespublic static MetadataKeyMatcher metadataKeyWithId(String id)
MetadataKeyMatcherid - of the MetadataKeyMetadataKeyMatcherprotected boolean matchesSafely(org.mule.runtime.api.metadata.MetadataKey metadataKey)
matchesSafely in class org.hamcrest.TypeSafeMatcher<org.mule.runtime.api.metadata.MetadataKey>public void describeTo(org.hamcrest.Description description)
public MetadataKeyMatcher withDisplayName(String displayName)
displayName - of the MetadataKeyMetadataKeyMatcherpublic MetadataKeyMatcher withPartName(String partName)
partName - of the MetadataKeyMetadataKeyMatcherCopyright © 2003–2021 MuleSoft, Inc.. All rights reserved.