Class ShouldBeRelativePath

  • All Implemented Interfaces:
    ErrorMessageFactory

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

      • shouldBeRelativePath

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