// change the folder's node type to nt:unstructured and make sure it's covered by the parent
project.createOrUpdateFile(Path.fromPortableString("jcr_root/content/test-root/mapping/.content.xml"),
getClass().getResourceAsStream("sling-mapping-with-unstructured-child.xml"));
// delete the sling folder node type since the serialization is now completely covered by
// the parent node
project.deleteMember(Path.fromPortableString("jcr_root/content/test-root/mapping/_jcr_content"));
// first wait until the sling:Folder child node is created, to ensure that all changes are processed
poller.pollUntil(new Callable<Node>() {
@Override
public Node call() throws RepositoryException {