private static void AssertExpectedLexerRulesReturnedFromInitializedParseEngine(IGrammar grammar, int expectedCount)
        {
            var preComputedGrammar = new PreComputedGrammar(grammar);
            var parseEngine        = new DeterministicParseEngine(preComputedGrammar);

            var lexerRules = parseEngine.GetExpectedLexerRules();

            Assert.AreEqual(
                expectedCount,
                lexerRules.Count, $"Expected {expectedCount} lexerRule, Found {lexerRules.Count}");
        }