@Test public void test2ActionsIn1Rule() throws Exception {
		String grammar =
			"lexer grammar L;\n"+
			"I : [0-9] {outStream.println(\"x\");} [0-9]+ {outStream.println(\"y\");} ;\n"+
			"WS : (' '|'\\n') -> skip ;";
		ExecutedState executedState = execLexer("L.g4", grammar, "L", "123 45");
		String expecting =
			"x\n" +
			"y\n" +
			"x\n" +
			"y\n" +
			"[@0,0:2='123',<1>,1:0]\n" +
			"[@1,4:5='45',<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