public class ShouldHaveNoParent extends BasicErrorMessageFactory
File
should not have a parent.Modifier and Type | Field and Description |
---|---|
static String |
FILE_HAS_PARENT |
static String |
PATH_HAS_PARENT |
arguments, format
Modifier and Type | Method and Description |
---|---|
static ShouldHaveNoParent |
shouldHaveNoParent(File actual)
Creates a new
. |
static ShouldHaveNoParent |
shouldHaveNoParent(Path actual) |
create, create, create, equals, hashCode, toString, unquotedString
public static final String PATH_HAS_PARENT
public static final String FILE_HAS_PARENT
public static ShouldHaveNoParent shouldHaveNoParent(File actual)
ShouldHaveNoParent
.actual
- the actual value in the failed assertion.ErrorMessageFactory
.public static ShouldHaveNoParent shouldHaveNoParent(Path actual)
Copyright © 2014–2019 AssertJ. All rights reserved.