Class ShouldExist

  • All Implemented Interfaces:
    ErrorMessageFactory

    public class ShouldExist
    extends BasicErrorMessageFactory
    Creates an error message indicating that an assertion that verifies that a File exists failed.
    Author:
    Yvonne Wang
    • Method Detail

      • shouldExist

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