public class ShouldNotExist extends BasicErrorMessageFactory
File
or Path
does not
exist failed.Modifier and Type | Field and Description |
---|---|
static String |
FILE_SHOULD_NOT_EXIST |
static String |
PATH_SHOULD_NOT_EXIST |
static String |
PATH_SHOULD_NOT_EXIST_NO_FOLLOW_LINKS |
arguments, format
Modifier and Type | Method and Description |
---|---|
static ErrorMessageFactory |
shouldExistNoFollowLinks(Path actual) |
static ErrorMessageFactory |
shouldNotExist(File actual)
Creates a new
. |
static ErrorMessageFactory |
shouldNotExist(Path actual) |
create, create, create, equals, hashCode, toString, unquotedString
public static final String PATH_SHOULD_NOT_EXIST
public static final String FILE_SHOULD_NOT_EXIST
public static final String PATH_SHOULD_NOT_EXIST_NO_FOLLOW_LINKS
public static ErrorMessageFactory shouldNotExist(File actual)
ShouldNotExist
.actual
- the actual value in the failed assertion.ErrorMessageFactory
.public static ErrorMessageFactory shouldNotExist(Path actual)
public static ErrorMessageFactory shouldExistNoFollowLinks(Path actual)
Copyright © 2014–2019 AssertJ. All rights reserved.