public class IsPartWithFilename extends org.hamcrest.TypeSafeMatcher<PartAttributes>
MultiPartPayload's part has a given filename.| Constructor and Description |
|---|
IsPartWithFilename(String filename) |
| 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 IsPartWithFilename(String filename)
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.