params.clear();
// current item is Property, need to go to Node
GetItemCommand getItemCommand = (GetItemCommand)cservice.getCatalog("CLI").getCommand("getitem");
params.add("/testJCRClientCommands");
ctx.put(PARAMETERS_KEY, params);
getItemCommand.execute(ctx);
// ok, now currentItem is Node "/testJCRClientCommands"
GetNodesCommand getNodesCommand = (GetNodesCommand)cservice.getCatalog("CLI").getCommand("getnodes");
getNodesCommand.execute(ctx);
assertTrue(ctx.getOutput().contains("childOftestJCRClientCommands"));