hasDirectChild

fun Assert<File>.hasDirectChild(expected: File)

Asserts the file has the expected direct child.