@Theory
public void theoryChildrenKnowTheirParents(String path) throws Exception {
Resource res = getResource(path);
assumeThat(res, is(directory()));
Collection<Resource> children = res.list();
assumeThat(children, not(empty())); // Make sure this resource has children
for(Resource child: children) {
Resource parent = child.parent();
assertThat(parent, equalTo(res));