private static final List<JDTagSection> NO_TAG_SECTIONS = Util.<JDTagSection>list();
@Test
public void testLookahead() {
// to get coverage of the null case in lookahead
final JavaDocParserImpl impl = new JavaDocParserImpl(new StringReader("foo1 foo2"));
impl.token = new Token(0, "bar1");
final Token token1 = impl.lookahead();
assertEquals("foo1", token1.image);
// to get coverage of the non-null case in lookahead
impl.token = new Token(0, "bar");
impl.token.next = new Token(0, "bar2");
final Token token2 = impl.lookahead();
assertEquals("bar2", token2.image);
}