failPrepareParser(parser);
    public void testElementTailConflict() {        Parser parser = createParser();        pattern = new ProductionPattern(P1, "P1");        alt = new ProductionPatternAlternative();        alt.addProduction(P2, 1, 1);        alt.addToken(T2, 0, 1);        addAlternative(pattern, alt);        addPattern(parser, pattern);        pattern = new ProductionPattern(P2, "P2");        alt = new ProductionPatternAlternative();        alt.addToken(T1, 1, 1);        alt.addToken(T2, 0, 1);        addAlternative(pattern, alt);        addPattern(parser, pattern);        failPrepareParser(parser);    }