public class ShouldBeReadable extends BasicErrorMessageFactory
File
or a a
Path
is readable failed.Modifier and Type | Field and Description |
---|---|
(package private) static java.lang.String |
SHOULD_BE_READABLE |
arguments, format, formatter
Modifier | Constructor and Description |
---|---|
private |
ShouldBeReadable(java.io.File actual) |
private |
ShouldBeReadable(java.nio.file.Path actual) |
Modifier and Type | Method and Description |
---|---|
static ErrorMessageFactory |
shouldBeReadable(java.io.File actual)
Creates a new
. |
static ErrorMessageFactory |
shouldBeReadable(java.nio.file.Path actual) |
create, create, create, equals, hashCode, toString, unquotedString
static final java.lang.String SHOULD_BE_READABLE
private ShouldBeReadable(java.io.File actual)
private ShouldBeReadable(java.nio.file.Path actual)
public static ErrorMessageFactory shouldBeReadable(java.io.File actual)
ShouldBeReadable
.actual
- the actual value in the failed assertion.ErrorMessageFactory
.public static ErrorMessageFactory shouldBeReadable(java.nio.file.Path actual)