Class ShouldBeWritable

  • All Implemented Interfaces:
    ErrorMessageFactory

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

      • shouldBeWritable

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