IProject project = projectRule.getProject();
new ProjectAdapter(project).createOrUpdateFile(Path
.fromPortableString("jcr_root/content/test-root/holder/.content.xml"),
getClass().getResourceAsStream("nt-unstructured-nodetype.xml"));
JcrNode contentNode = syncDirNode.getNode("/content/test-root/holder");
contentNode.createChild("org.apache.sling.SomeComponent", "sling:OsgiConfig");
assertThat(project, hasFile("/jcr_root/content/test-root/holder/org.apache.sling.SomeComponent.xml"));
}