@Test
    public void testRankingExpressionTokenList() {
        Field[] javaCCFields = RankingExpressionParserConstants.class.getDeclaredFields();

        Set<String> congoCCTokenStrings = new HashSet<>();
        for (var tokenType : RankingExpressionParserLexer.getRegularTokens()) {
            congoCCTokenStrings.add(tokenType.toString());
        }

        List<String> missing = findMissingTokens(javaCCFields, congoCCTokenStrings);
        assertEquals(0, missing.size(), "Missing ranking expression tokens in CongoCC: " + String.join(", ", missing));
    }
Tests that the set of tokens declared in JavaCC parsers are also present in CongoCC parsers.
integration/schema-language-server/language-server/src/test/java/ai/vespa/schemals/ParserTokensTest.java