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
    • Constructor Detail

      • ShouldBeExecutable

        private ShouldBeExecutable​(File actual)
      • ShouldBeExecutable

        private ShouldBeExecutable​(Path actual)
    • Method Detail

      • shouldBeExecutable

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