@CanIgnoreReturnValue
  public PathSubject isSymbolicLink() {
    exists(); // check for symbolic linkness should imply check for existence

    if (!Files.isSymbolicLink(actual)) {
      failWithActual(simpleFact("expected to be symbolic link"));
    }
    return this;
  }
Asserts that the path is a symbolic link.
jimfs/src/test/java/com/google/common/jimfs/PathSubject.java