{
CommandConfig config = new CommandConfig();
config.setName("mytest");
config.setCode("org.apache.geronimo.twiddle.command.TestCommand");
Attribute attr = new Attribute();
String text = "this is the value for the text attribute";
attr.setName("text");
attr.setContent(text);
config.addAttribute(attr);
CommandInfo protoInfo = new CommandInfo(config, world);
Command command = protoInfo.getPrototype();