assertk / assertk.assertions / hasParent

hasParent

(jvm) fun Assert<File>.hasParent(expected: String): Unit

Asserts the file has the expected parent path.