public class ShouldNotExist extends BasicErrorMessageFactory
File or Path does not
exist failed.| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
FILE_SHOULD_NOT_EXIST |
static java.lang.String |
PATH_SHOULD_NOT_EXIST |
static java.lang.String |
PATH_SHOULD_NOT_EXIST_NO_FOLLOW_LINKS |
arguments, format, formatter| Modifier | Constructor and Description |
|---|---|
private |
ShouldNotExist(java.io.File actual) |
private |
ShouldNotExist(java.nio.file.Path actual) |
private |
ShouldNotExist(java.nio.file.Path actual,
boolean followLinks) |
| Modifier and Type | Method and Description |
|---|---|
static ErrorMessageFactory |
shouldExistNoFollowLinks(java.nio.file.Path actual) |
static ErrorMessageFactory |
shouldNotExist(java.io.File actual)
Creates a new
. |
static ErrorMessageFactory |
shouldNotExist(java.nio.file.Path actual) |
create, create, create, equals, hashCode, toString, unquotedStringpublic static final java.lang.String PATH_SHOULD_NOT_EXIST
public static final java.lang.String FILE_SHOULD_NOT_EXIST
public static final java.lang.String PATH_SHOULD_NOT_EXIST_NO_FOLLOW_LINKS
private ShouldNotExist(java.io.File actual)
private ShouldNotExist(java.nio.file.Path actual)
private ShouldNotExist(java.nio.file.Path actual,
boolean followLinks)
public static ErrorMessageFactory shouldNotExist(java.io.File actual)
ShouldNotExist.actual - the actual value in the failed assertion.ErrorMessageFactory.public static ErrorMessageFactory shouldNotExist(java.nio.file.Path actual)
public static ErrorMessageFactory shouldExistNoFollowLinks(java.nio.file.Path actual)