admin.getRootNode().addNode(TEST_ROOT.substring(1, TEST_ROOT.length()));
admin.save();
archive.open(true);
Node rootNode = admin.getNode(TEST_ROOT);
ImportOptions opts = getDefaultOptions();
// manually creating filterPaths with correct coverage
WorkspaceFilter filter = archive.getMetaInf().getFilter();
for (PathFilterSet pathFilterSet : filter.getFilterSets()) {
pathFilterSet.setRoot(TEST_ROOT + pathFilterSet.getRoot());
}
opts.setFilter(filter);
Importer importer = new Importer(opts);
importer.run(archive, rootNode);
assertNodeExists(TEST_ROOT + "/tmp/foo/bar/tobi");
}