Class ShouldBeAbsolutePath

  • All Implemented Interfaces:
    ErrorMessageFactory

    public class ShouldBeAbsolutePath
    extends BasicErrorMessageFactory
    Creates an error message indicating that an assertion that verifies that a File or Path is an absolute path failed.
    Author:
    Yvonne Wang, Francis Galiegue
    • Constructor Detail

      • ShouldBeAbsolutePath

        private ShouldBeAbsolutePath​(File actual)
      • ShouldBeAbsolutePath

        private ShouldBeAbsolutePath​(Path actual)
    • Method Detail

      • shouldBeAbsolutePath

        public static ErrorMessageFactory shouldBeAbsolutePath​(File actual)
        Creates a new ShouldBeAbsolutePath.
        Parameters:
        actual - the actual value in the failed assertion.
        Returns:
        the created ErrorMessageFactory.