public class DataTypeMatcher
extends org.hamcrest.TypeSafeMatcher<org.mule.runtime.api.metadata.DataType>
DataType's type, mime type and encoding.| Constructor and Description |
|---|
DataTypeMatcher(Class type,
org.mule.runtime.api.metadata.MediaType mimeType,
Charset encoding) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
describeMismatchSafely(org.mule.runtime.api.metadata.DataType dataType,
org.hamcrest.Description mismatchDescription) |
void |
describeTo(org.hamcrest.Description description) |
static org.hamcrest.Matcher<org.mule.runtime.api.metadata.DataType> |
like(Class type,
org.mule.runtime.api.metadata.MediaType mimeType) |
static org.hamcrest.Matcher<org.mule.runtime.api.metadata.DataType> |
like(Class type,
org.mule.runtime.api.metadata.MediaType mimeType,
Charset encoding) |
static org.hamcrest.Matcher<org.mule.runtime.api.metadata.DataType> |
like(org.mule.runtime.api.metadata.DataType dataType) |
protected boolean |
matchesSafely(org.mule.runtime.api.metadata.DataType dataType) |
protected boolean matchesSafely(org.mule.runtime.api.metadata.DataType dataType)
matchesSafely in class org.hamcrest.TypeSafeMatcher<org.mule.runtime.api.metadata.DataType>public void describeTo(org.hamcrest.Description description)
protected void describeMismatchSafely(org.mule.runtime.api.metadata.DataType dataType,
org.hamcrest.Description mismatchDescription)
describeMismatchSafely in class org.hamcrest.TypeSafeMatcher<org.mule.runtime.api.metadata.DataType>public static org.hamcrest.Matcher<org.mule.runtime.api.metadata.DataType> like(Class type, org.mule.runtime.api.metadata.MediaType mimeType, Charset encoding)
public static org.hamcrest.Matcher<org.mule.runtime.api.metadata.DataType> like(Class type, org.mule.runtime.api.metadata.MediaType mimeType)
public static org.hamcrest.Matcher<org.mule.runtime.api.metadata.DataType> like(org.mule.runtime.api.metadata.DataType dataType)
Copyright © 2003–2017 MuleSoft, Inc.. All rights reserved.