Class ShouldBeExecutable

  • All Implemented Interfaces:
    ErrorMessageFactory

    public class ShouldBeExecutable
    extends BasicErrorMessageFactory
    Creates an error message indicating that an assertion that verifies that a File is executable failed.
    Author:
    Olivier Demeijer
    • Method Detail

      • shouldBeExecutable

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