Class ShouldBeAbsolutePath

java.lang.Object
org.fest.assertions.error.BasicErrorMessageFactory
org.fest.assertions.error.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 Details

    • shouldBeAbsolutePath

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