*
*/
public void test2() throws StateConflict, SyntaxError, InvalidStartRule, StrandedSymbol {
final Token id = new Token("id");
final IteratorTokenStream iterator = new IteratorTokenStream(id,new Token("*"),id,new Token("+"),id,new Token("*"),id) ;
Parser parser = new Parser(createParseTable(),iterator);
Object result = parser.parse();
assertEquals(iterator.next(),Parser.EOF) ;
assertEquals(result,new Plus(new Times(id,id),new Times(id,id))) ;
}