Workspace workspace = b1.getSession().getWorkspace();
workspace.clone(workspace.getName(), b1.getPath(),
a2.getPath() + "/b2", false);
// copy source tree to destination
workspace.copy(s.getPath(), testRootNode.getPath() + "/d");
// verify source contains shared set with 2 entries
Node[] shared1 = getSharedSet(b1);
assertEquals(2, shared1.length);