Class PathFileObjectAssert

All Implemented Interfaces:
Assert<PathFileObjectAssert, PathFileObject>, Descriptable<PathFileObjectAssert>, ExtensionPoints<PathFileObjectAssert, PathFileObject>

Assertions for Path file objects.
Since:
0.0.1
Author:
Ashley Scopes
  • Constructor Details

  • Method Details

    • relativePath

      Perform an assertion on the file object's relative path.

      The path is relative to the base directory holding all the sources relative to their package names.

      Returns:
      the assertions for the path.
      Throws:
      AssertionError - if the file object is null.
    • absolutePath

      Perform an assertion on the file object's absolute path.

      You generally should prefer using relativePath().

      Returns:
      the assertions for the path.
      Throws:
      AssertionError - if the file object is null.