Package org.assertj.core.error
Class ShouldExist
java.lang.Object
org.assertj.core.error.BasicErrorMessageFactory
org.assertj.core.error.ShouldExist
- All Implemented Interfaces:
ErrorMessageFactory
Creates an error message indicating that an assertion that verifies that a
File or Path exists
failed.- Author:
- Yvonne Wang
-
Field Summary
FieldsFields inherited from class org.assertj.core.error.BasicErrorMessageFactory
arguments, format -
Method Summary
Modifier and TypeMethodDescriptionstatic ErrorMessageFactoryshouldExist(File actual) Creates a new.ShouldExiststatic ErrorMessageFactoryshouldExist(Path actual) static ErrorMessageFactoryshouldExistNoFollowLinks(Path actual) Methods inherited from class org.assertj.core.error.BasicErrorMessageFactory
create, create, create, equals, hashCode, toString, unquotedString
-
Field Details
-
PATH_SHOULD_EXIST
- See Also:
-
PATH_SHOULD_EXIST_NO_FOLLOW_LINKS
- See Also:
-
FILE_SHOULD_EXIST
- See Also:
-
-
Method Details
-
shouldExist
Creates a new.ShouldExist- Parameters:
actual- the actual value in the failed assertion.- Returns:
- the created
ErrorMessageFactory.
-
shouldExist
-
shouldExistNoFollowLinks
-