hasDirectChild

Asserts the file has the expected direct child.