ErrorMessageFactory
public class ShouldHaveNoParent extends BasicErrorMessageFactory
File
should not have a parent.Modifier and Type | Field | Description |
---|---|---|
static String |
FILE_HAS_PARENT |
|
static String |
PATH_HAS_PARENT |
arguments, format
Modifier and Type | Method | Description |
---|---|---|
static ShouldHaveNoParent |
shouldHaveNoParent(File actual) |
Creates a new
ShouldHaveNoParent . |
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. All rights reserved.