public class ShouldHaveNoParent extends BasicErrorMessageFactory
File should not have a parent.| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
FILE_HAS_PARENT |
static java.lang.String |
PATH_HAS_PARENT |
arguments, format, formatter| Modifier | Constructor and Description |
|---|---|
private |
ShouldHaveNoParent(java.io.File actual) |
private |
ShouldHaveNoParent(java.nio.file.Path actual) |
| Modifier and Type | Method and Description |
|---|---|
static ShouldHaveNoParent |
shouldHaveNoParent(java.io.File actual)
Creates a new
. |
static ShouldHaveNoParent |
shouldHaveNoParent(java.nio.file.Path actual) |
create, create, create, equals, hashCode, toString, unquotedStringpublic static final java.lang.String PATH_HAS_PARENT
public static final java.lang.String FILE_HAS_PARENT
private ShouldHaveNoParent(java.io.File actual)
private ShouldHaveNoParent(java.nio.file.Path actual)
public static ShouldHaveNoParent shouldHaveNoParent(java.io.File actual)
ShouldHaveNoParent.actual - the actual value in the failed assertion.ErrorMessageFactory.public static ShouldHaveNoParent shouldHaveNoParent(java.nio.file.Path actual)