public void testRemoveItemCommand() throws Exception
{
ctx.setCurrentItem(ctx.getSession().getRootNode().getNode("testJCRClientCommands/childOftestJCRClientCommands"));
RemoveItemCommand removeItemCommand = (RemoveItemCommand)cservice.getCatalog("CLI").getCommand("remove");
removeItemCommand.execute(ctx);
assertEquals(((Node)ctx.getCurrentItem()).getName(), "testJCRClientCommands");
}
public void testCopyNodeCommand() throws Exception