@CanIgnoreReturnValue
  public PathSubject hasNoNameComponents() {
    check("getNameCount()").that(actual.getNameCount()).isEqualTo(0);
    return this;
  }
Asserts that the path has no name components.
jimfs/src/test/java/com/google/common/jimfs/PathSubject.java