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 Detail

      • shouldNotExist

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