public class ShouldHaveParent extends BasicErrorMessageFactory
File
should have a parent.Modifier and Type | Field and Description |
---|---|
static String |
FILE_NO_PARENT |
static String |
FILE_NOT_EXPECTED_PARENT |
static String |
PATH_NO_PARENT |
static String |
PATH_NOT_EXPECTED_PARENT |
arguments, format
Modifier and Type | Method and Description |
---|---|
static ShouldHaveParent |
shouldHaveParent(File actual,
File expected) |
static ShouldHaveParent |
shouldHaveParent(Path actual,
Path expected) |
static ShouldHaveParent |
shouldHaveParent(Path actual,
Path actualParent,
Path expected) |
create, create, create, equals, hashCode, toString, unquotedString
public static final String PATH_NO_PARENT
public static final String PATH_NOT_EXPECTED_PARENT
public static final String FILE_NO_PARENT
public static final String FILE_NOT_EXPECTED_PARENT
public static ShouldHaveParent shouldHaveParent(File actual, File expected)
public static ShouldHaveParent shouldHaveParent(Path actual, Path expected)
public static ShouldHaveParent shouldHaveParent(Path actual, Path actualParent, Path expected)
Copyright © 2014–2016 AssertJ. All rights reserved.