@Test public void testAltActionsIn1Rule() throws Exception {
		String grammar =
			"lexer grammar L;\n"+
			"I : ( [0-9]+ {outStream.print(\"int\");}\n" +
			"    | [a-z]+ {outStream.print(\"id\");}\n" +
			"    )\n" +
			"    {outStream.println(\" last\");}\n" +
			"    ;\n"+
			"WS : (' '|'\\n') -> skip ;";
		ExecutedState executedState = execLexer("L.g4", grammar, "L", "123 ab");
		String expecting =
			"int last\n" +
			"id last\n" +
			"[@0,0:2='123',<1>,1:0]\n" +
			"[@1,4:5='ab',<1>,1:4]\n" +
			"[@2,6:5='<EOF>',<-1>,1:6]\n";
		assertEquals(expecting, executedState.output);
	}
This is a regressing test for antlr/antlr4#469 "Not all internal lexer
rule actions are executed".
https://github.com/antlr/antlr4/issues/469
tool-testsuite/test/org/antlr/v4/test/tool/TestLexerActions.java