Class PathFileObjectAssert

  • 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.