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();
// Verify that the text attribute was set correctly