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.
    • Field Detail

      • SHOULD_BE_EXECUTABLE

        static final java.lang.String SHOULD_BE_EXECUTABLE
        See Also:
        Constant Field Values
    • Constructor Detail

      • ShouldBeExecutable

        private ShouldBeExecutable​(java.io.File actual)
      • ShouldBeExecutable

        private ShouldBeExecutable​(java.nio.file.Path actual)
    • 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.
      • shouldBeExecutable

        public static ErrorMessageFactory shouldBeExecutable​(java.nio.file.Path actual)