public class ShouldBeAbsolutePath extends BasicErrorMessageFactory
File
or Path
is an absolute path
failed.Modifier and Type | Field and Description |
---|---|
static String |
SHOULD_BE_ABSOLUTE_PATH |
arguments, format
Modifier and Type | Method and Description |
---|---|
static ErrorMessageFactory |
shouldBeAbsolutePath(File actual)
Creates a new
. |
static ErrorMessageFactory |
shouldBeAbsolutePath(Path actual) |
create, create, create, equals, hashCode, toString, unquotedString
public static final String SHOULD_BE_ABSOLUTE_PATH
public static ErrorMessageFactory shouldBeAbsolutePath(File actual)
ShouldBeAbsolutePath
.actual
- the actual value in the failed assertion.ErrorMessageFactory
.public static ErrorMessageFactory shouldBeAbsolutePath(Path actual)
Copyright © 2014–2019 AssertJ. All rights reserved.