public class IsPartWithName extends org.hamcrest.TypeSafeMatcher<PartAttributes>
MultiPartPayload's part has a given name.| Constructor and Description |
|---|
IsPartWithName(String name) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
describeMismatchSafely(PartAttributes partAttributes,
org.hamcrest.Description mismatchDescription) |
void |
describeTo(org.hamcrest.Description description) |
protected boolean |
matchesSafely(PartAttributes partAttributes) |
public IsPartWithName(String name)
protected boolean matchesSafely(PartAttributes partAttributes)
matchesSafely in class org.hamcrest.TypeSafeMatcher<PartAttributes>public void describeTo(org.hamcrest.Description description)
protected void describeMismatchSafely(PartAttributes partAttributes, org.hamcrest.Description mismatchDescription)
describeMismatchSafely in class org.hamcrest.TypeSafeMatcher<PartAttributes>Copyright © 2003–2017 MuleSoft, Inc.. All rights reserved.