t = ht.next(); assertEquals("Apache", t.getValue()); assertEquals(Token.ATOM, t.getType());
validateToken(ht.next(), Token.ATOM, "Apache");
    public void doComment(boolean ignore) throws ParseException {        HeaderTokenizer ht;        Token t;        ht =            new HeaderTokenizer(                "Apache(Geronimo)J2EE",                HeaderTokenizer.RFC822,                ignore);        t = ht.next();        assertEquals("Apache", t.getValue());        assertEquals(Token.ATOM, t.getType());        if (!ignore) {            t = ht.next();            assertEquals("Geronimo", t.getValue());            assertEquals(Token.COMMENT, t.getType());        }        t = ht.next();        assertEquals("J2EE", t.getValue());        assertEquals(Token.ATOM, t.getType());        assertEquals(Token.EOF, ht.next().getType());    }