Class ShouldNotExist

All Implemented Interfaces:
ErrorMessageFactory

public class ShouldNotExist extends BasicErrorMessageFactory
Creates an error message indicating that an assertion that verifies that a File does not exist failed.
Author:
Yvonne Wang
  • Method Details

    • shouldNotExist

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