* Check that the next tokenType, symbol, and lineNo from the tokenizer are
* as expected
*/
private void check(BaseJavaCCParserImplTokenManager tokenizer,
String expectedSymbol, int expectedTokenType, int expectedLineNo) {
final Token token = tokenizer.getNextToken();
final String actualSymbol = token.kind == EOF ? "<EOF>" : token.image;
assertEquals("Expected token type " + expectedTokenType
+ " with symbol " + expectedSymbol + " but got " + token.kind
+ " with symbol " + actualSymbol, expectedTokenType, token.kind);
assertEquals("Got correct token type " + expectedTokenType