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