public void testGetCtxProperty() throws Exception
{
params.clear();
ctx.setCurrentItem(ctx.getSession().getRootNode().getNode("testJCRClientCommands/childOftestJCRClientCommands"));
GetPropertyCommand getPropertyCommand = (GetPropertyCommand)cservice.getCatalog("CLI").getCommand("getproperty");
params.add("testProperty");
ctx.put(PARAMETERS_KEY, params);
getPropertyCommand.execute(ctx);
assertEquals(((Property)ctx.getCurrentItem()).getValue().getString(), "test");
}