Class ShouldBeAbsolutePath

  • All Implemented Interfaces:
    ErrorMessageFactory

    public class ShouldBeAbsolutePath
    extends BasicErrorMessageFactory
    Creates an error message indicating that an assertion that verifies that a File is an absolute path failed.
    Author:
    Yvonne Wang
    • Method Detail

      • shouldBeAbsolutePath

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