assertEquals("", treeRef.getParentPath());
assertTrue(treeRef.getNode().getMetadataId().isPresent());
assertSame(treeRef.getMetadataId(), treeRef.getNode().getMetadataId().get());
RevFeatureType featureType = repo.stagingDatabase().getFeatureType(treeRef.getMetadataId());
assertEquals(pointsType, featureType.type());
}
@Test
public void testCreateTypeNestedNonExistingParent() throws Exception {
NodeRef treeRef = workTree.createTypeTree("path/to/nested/type", pointsType);