public class ZipFileMatcher
extends org.hamcrest.TypeSafeMatcher<java.nio.file.Path>
| Modifier and Type | Method and Description |
|---|---|
protected void |
describeMismatchSafely(java.nio.file.Path item,
org.hamcrest.Description mismatchDescription) |
void |
describeTo(org.hamcrest.Description description) |
protected boolean |
matchesSafely(java.nio.file.Path item) |
static ZipFileMatcher |
matchesWithNameLastModifiedAndContent(java.nio.file.Path expected)
compares the content of 2 zip files.
|
public static ZipFileMatcher matchesWithNameLastModifiedAndContent(java.nio.file.Path expected)
expected - the path to the zip file with the expected contentprotected boolean matchesSafely(java.nio.file.Path item)
matchesSafely in class org.hamcrest.TypeSafeMatcher<java.nio.file.Path>public void describeTo(org.hamcrest.Description description)
protected void describeMismatchSafely(java.nio.file.Path item,
org.hamcrest.Description mismatchDescription)
describeMismatchSafely in class org.hamcrest.TypeSafeMatcher<java.nio.file.Path>