public class ShouldExist extends BasicErrorMessageFactory
File or Path exists
failed.| Modifier and Type | Field and Description |
|---|---|
static String |
FILE_SHOULD_EXIST |
static String |
PATH_SHOULD_EXIST |
static String |
PATH_SHOULD_EXIST_NO_FOLLOW_LINKS |
arguments, format| Modifier and Type | Method and Description |
|---|---|
static ErrorMessageFactory |
shouldExist(File actual)
Creates a new
. |
static ErrorMessageFactory |
shouldExist(Path actual) |
static ErrorMessageFactory |
shouldExistNoFollowLinks(Path actual) |
create, create, create, equals, hashCode, toString, unquotedStringpublic static final String PATH_SHOULD_EXIST
public static final String PATH_SHOULD_EXIST_NO_FOLLOW_LINKS
public static final String FILE_SHOULD_EXIST
public static ErrorMessageFactory shouldExist(File actual)
ShouldExist.actual - the actual value in the failed assertion.ErrorMessageFactory.public static ErrorMessageFactory shouldExist(Path actual)
public static ErrorMessageFactory shouldExistNoFollowLinks(Path actual)
Copyright © 2014–2019 AssertJ. All rights reserved.