public class MultiPartPayloadMatchers extends Object
| Constructor and Description |
|---|
MultiPartPayloadMatchers() |
| Modifier and Type | Method and Description |
|---|---|
static org.hamcrest.Matcher<org.mule.runtime.api.message.MultiPartPayload> |
hasPart(org.hamcrest.Matcher<org.mule.runtime.api.message.Message> messageMatcher)
Verifies whether a part that matches the specified
Message matcher is contained in a MultiPartPayload. |
static org.hamcrest.Matcher<org.mule.runtime.api.message.MultiPartPayload> |
hasPartThat(org.hamcrest.Matcher<PartAttributes> partAttributesMatcher)
Verifies whether a part that matches the specified
PartAttributes matcher is contained in a MultiPartPayload. |
static org.hamcrest.Matcher<org.mule.runtime.api.message.MultiPartPayload> |
hasSize(int size)
Verifies the amount of parts in a
MultiPartPayload. |
public static org.hamcrest.Matcher<org.mule.runtime.api.message.MultiPartPayload> hasSize(int size)
MultiPartPayload.public static org.hamcrest.Matcher<org.mule.runtime.api.message.MultiPartPayload> hasPart(org.hamcrest.Matcher<org.mule.runtime.api.message.Message> messageMatcher)
Message matcher is contained in a MultiPartPayload.public static org.hamcrest.Matcher<org.mule.runtime.api.message.MultiPartPayload> hasPartThat(org.hamcrest.Matcher<PartAttributes> partAttributesMatcher)
PartAttributes matcher is contained in a MultiPartPayload.Copyright © 2003–2017 MuleSoft, Inc.. All rights reserved.