public final class FileMatchers
extends Object
Hamcrest matchers for
Path.
-
Method Summary
static org.hamcrest.Matcher<Path>
A matcher that tests if a
Path exists.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Method Details
-
fileExists
public static org.hamcrest.Matcher<Path> fileExists()
A matcher that tests if a
Path exists.
- Returns:
- matcher validating the
Path exists