}
public void testCopyNodeCommand() throws Exception
{
params.clear();
CopyNodeCommand copyNodeCommand = (CopyNodeCommand)cservice.getCatalog("CLI").getCommand("copynode");
params.add("/testJCRClientCommands");
params.add("/copyOftestJCRClientCommands");
ctx.put(PARAMETERS_KEY, params);
copyNodeCommand.execute(ctx);
System.out.println("[out]:" + ctx.getOutput());
assertNotNull(ctx.getSession().getRootNode().getNode("copyOftestJCRClientCommands"));
}