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
ShouldHaveNoParent. |
static ShouldHaveNoParent |
shouldHaveNoParent(Path actual) |
create, create, create, equals, hashCode, toString, unquotedStringpublic 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 © 2013–2016 AssertJ. All rights reserved.