Node archiveNode = admin.getRootNode().addNode(ARCHIVE_ROOT.substring(1, ARCHIVE_ROOT.length()));
admin.save();
createNodes(archiveNode, 2, 4);
admin.save();
assertNodeExists(ARCHIVE_ROOT + "/n3/n3/n3");
JcrArchive archive = new JcrArchive(archiveNode, TEST_ROOT);
Node testRoot = admin.getRootNode().addNode(TEST_ROOT.substring(1, TEST_ROOT.length()));
testRoot.addNode("dummy", "nt:folder");
admin.save();
archive.open(true);
Node rootNode = admin.getNode(TEST_ROOT);
ImportOptions opts = getDefaultOptions();
//opts.setListener(new DefaultProgressListener());
Importer importer = new Importer(opts);
importer.run(archive, rootNode);