Package org.assertj.core.error
Class ShouldBeReadable
java.lang.Object
org.assertj.core.error.BasicErrorMessageFactory
org.assertj.core.error.ShouldBeReadable
- All Implemented Interfaces:
ErrorMessageFactory
Creates an error message indicating that an assertion that verifies that a
File
or a a
Path
is readable failed.- Author:
- Olivier Demeijer
-
Field Summary
Fields inherited from class org.assertj.core.error.BasicErrorMessageFactory
arguments, format
-
Method Summary
Modifier and TypeMethodDescriptionstatic ErrorMessageFactory
shouldBeReadable
(File actual) Creates a new
.ShouldBeReadable
static ErrorMessageFactory
shouldBeReadable
(Path actual) Methods inherited from class org.assertj.core.error.BasicErrorMessageFactory
create, create, create, equals, hashCode, toString, unquotedString
-
Method Details
-
shouldBeReadable
Creates a new
.ShouldBeReadable
- Parameters:
actual
- the actual value in the failed assertion.- Returns:
- the created
ErrorMessageFactory
.
-
shouldBeReadable
-