Package org.assertj.core.error
Class ShouldNotExist
java.lang.Object
org.assertj.core.error.BasicErrorMessageFactory
org.assertj.core.error.ShouldNotExist
- All Implemented Interfaces:
ErrorMessageFactory
Creates an error message indicating that an assertion that verifies that a
File
or Path
does not
exist failed.- Author:
- Yvonne Wang, Francis Galiegue
-
Field Summary
Fields inherited from class org.assertj.core.error.BasicErrorMessageFactory
arguments, format
-
Method Summary
Modifier and TypeMethodDescriptionstatic ErrorMessageFactory
shouldExistNoFollowLinks
(Path actual) static ErrorMessageFactory
shouldNotExist
(File actual) Creates a new
.ShouldNotExist
static ErrorMessageFactory
shouldNotExist
(Path actual) Methods inherited from class org.assertj.core.error.BasicErrorMessageFactory
create, create, create, equals, hashCode, toString, unquotedString
-
Field Details
-
PATH_SHOULD_NOT_EXIST
- See Also:
-
FILE_SHOULD_NOT_EXIST
- See Also:
-
-
Method Details
-
shouldNotExist
Creates a new
.ShouldNotExist
- Parameters:
actual
- the actual value in the failed assertion.- Returns:
- the created
ErrorMessageFactory
.
-
shouldNotExist
-
shouldExistNoFollowLinks
-