protected void setUp() throws Exception {
super.setUp();
}
public void testCopy() throws RepositoryException {
Workspace wsp = (Workspace) superuser.getWorkspace();
VersionManager vMgr = wsp.getVersionManager();
String srcPath = versionableNode.getPath();
String dstPath = getProperty("destination");
wsp.copy(srcPath, dstPath);
// check versionable
Node v = (Node) ((org.apache.jackrabbit.api.jsr283.Session) superuser).getNode(dstPath);
assertTrue("Copied Node.isNodeType(mix:simpleVersionable) must return true.",
v.isNodeType(mixSimpleVersionable));