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 Details

    • shouldExist

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