Package org.assertj.core.error
Class ShouldBeWritable
java.lang.Object
org.assertj.core.error.BasicErrorMessageFactory
org.assertj.core.error.ShouldBeWritable
- All Implemented Interfaces:
ErrorMessageFactory
Creates an error message indicating that an assertion that verifies that a
File
is writable
failed.-
Field Summary
FieldsFields inherited from class org.assertj.core.error.BasicErrorMessageFactory
arguments, format, formatter
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprivate
ShouldBeWritable
(File actual) private
ShouldBeWritable
(Path actual) -
Method Summary
Modifier and TypeMethodDescriptionstatic ErrorMessageFactory
shouldBeWritable
(File actual) Creates a new
.ShouldBeWritable
static ErrorMessageFactory
shouldBeWritable
(Path actual) Methods inherited from class org.assertj.core.error.BasicErrorMessageFactory
create, create, create, equals, hashCode, toString, unquotedString
-
Field Details
-
SHOULD_BE_WRITABLE
- See Also:
-
-
Constructor Details
-
ShouldBeWritable
-
ShouldBeWritable
-
-
Method Details
-
shouldBeWritable
Creates a new
.ShouldBeWritable
- Parameters:
actual
- the actual value in the failed assertion.- Returns:
- the created
ErrorMessageFactory
.
-
shouldBeWritable
-