CodeGenerator generator = new CodeGenerator(antlr, g, "Java");
ActionTranslator translator =
new ActionTranslator(generator,
"b",
new CommonToken(ANTLRParser.ACTION,action),1);
String found = translator.translate(); assertEquals(expecting, found);
int expectedMsgID = ErrorManager.MSG_UNKNOWN_SIMPLE_ATTRIBUTE;
Object expectedArg = "n";
Object expectedArg2 = null;
GrammarSemanticsMessage expectedMessage =