Package org.assertj.core.error
Class ShouldBeAbsolutePath
java.lang.Object
org.assertj.core.error.BasicErrorMessageFactory
org.assertj.core.error.ShouldBeAbsolutePath
- All Implemented Interfaces:
ErrorMessageFactory
Creates an error message indicating that an assertion that verifies that a
File or Path is an absolute path
failed.- Author:
- Yvonne Wang, Francis Galiegue
-
Field Summary
FieldsFields inherited from class org.assertj.core.error.BasicErrorMessageFactory
arguments, format -
Method Summary
Modifier and TypeMethodDescriptionstatic ErrorMessageFactoryshouldBeAbsolutePath(File actual) Creates a new.ShouldBeAbsolutePathstatic ErrorMessageFactoryshouldBeAbsolutePath(Path actual) Methods inherited from class org.assertj.core.error.BasicErrorMessageFactory
create, create, create, equals, hashCode, toString, unquotedString
-
Field Details
-
SHOULD_BE_ABSOLUTE_PATH
- See Also:
-
-
Method Details
-
shouldBeAbsolutePath
Creates a new.ShouldBeAbsolutePath- Parameters:
actual- the actual value in the failed assertion.- Returns:
- the created
ErrorMessageFactory.
-
shouldBeAbsolutePath
-