@Test public void test2CharAhead() throws Exception {
CharStream input = createStream("xy");
assertEquals('x', input.LA(1));
assertEquals('y', input.LA(2));
assertEquals(IntStream.EOF, input.LA(3));
}
@Test public void testBufferExpand() throws Exception {
TestingUnbufferedCharStream input = createStream("01234", 2);
assertEquals('0', input.LA(1));